From: Eli Friedman Date: Wed, 3 Jun 2009 10:41:42 +0000 (+0000) Subject: Back out r72764; I should have looked more carefully before committing X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb32e6dc801746fa3e09446f3730eb613fb59c2e;p=clang Back out r72764; I should have looked more carefully before committing this. The correct replacement for "Y" and "Yt" is "x". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72765 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index cdb7e08056..4b94bcfc43 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -754,13 +754,6 @@ X86TargetInfo::validateAsmConstraint(const char *&Name, // instructions. Info.setAllowsRegister(); return true; - case 'Y': - ++Name; - if (*Name == 't') { - Info.setAllowsRegister(); - return true; - } - return false; } } diff --git a/test/Sema/asm-x86.c b/test/Sema/asm-x86.c deleted file mode 100644 index d8fe38065f..0000000000 --- a/test/Sema/asm-x86.c +++ /dev/null @@ -1,7 +0,0 @@ -// RUN: clang-cc %s -triple i386-pc-linux-gnu -target-feature=+sse2 -verify -fsyntax-only - -// PR3678 -int test8() { - asm("%0" : : "Yt"(1.0)); - asm("%0" : : "Yy"(1.0)); // expected-error {{invalid input constraint 'Yy' in asm}} -}