[cfe-commits] r72765 - in /cfe/trunk: lib/Basic/Targets.cpp test/Sema/asm-x86.c
Eli Friedman
eli.friedman at gmail.com
Wed Jun 3 03:42:05 PDT 2009
Author: efriedma
Date: Wed Jun 3 05:41:42 2009
New Revision: 72765
URL: http://llvm.org/viewvc/llvm-project?rev=72765&view=rev
Log:
Back out r72764; I should have looked more carefully before committing
this. The correct replacement for "Y" and "Yt" is "x".
Removed:
cfe/trunk/test/Sema/asm-x86.c
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=72765&r1=72764&r2=72765&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Jun 3 05:41:42 2009
@@ -754,13 +754,6 @@
// instructions.
Info.setAllowsRegister();
return true;
- case 'Y':
- ++Name;
- if (*Name == 't') {
- Info.setAllowsRegister();
- return true;
- }
- return false;
}
}
Removed: cfe/trunk/test/Sema/asm-x86.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/asm-x86.c?rev=72764&view=auto
==============================================================================
--- cfe/trunk/test/Sema/asm-x86.c (original)
+++ cfe/trunk/test/Sema/asm-x86.c (removed)
@@ -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}}
-}
More information about the cfe-commits
mailing list