[llvm-commits] [llvm-gcc-4.0] r44138 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp
Dale Johannesen
dalej at apple.com
Wed Nov 14 13:39:53 PST 2007
Author: johannes
Date: Wed Nov 14 15:39:53 2007
New Revision: 44138
URL: http://llvm.org/viewvc/llvm-project?rev=44138&view=rev
Log:
Small improvement in asm handling; not enough
to get 5599110 working, but a step.
Modified:
llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp?rev=44138&r1=44137&r2=44138&view=diff
==============================================================================
--- llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp Wed Nov 14 15:39:53 2007
@@ -4010,6 +4010,8 @@
NewConstraint[RegNameLen+2] = '}';
NewConstraint[RegNameLen+3] = 0;
SimplifiedConstraint = NewConstraint;
+ // We should no longer consider mem constraints.
+ AllowsMem = false;
} else {
// If we can simplify the constraint into something else, do so now. This
// avoids LLVM having to know about all the (redundant) GCC constraints.
More information about the llvm-commits
mailing list