[llvm-commits] [dragonegg] r94898 - /dragonegg/trunk/llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Sat Jan 30 09:08:57 PST 2010
Author: baldrick
Date: Sat Jan 30 11:08:57 2010
New Revision: 94898
URL: http://llvm.org/viewvc/llvm-project?rev=94898&view=rev
Log:
Port commit 93747 (grosbach) from llvm-gcc:
Only available on v6 or later and not in Thumb1
Modified:
dragonegg/trunk/llvm-convert.cpp
Modified: dragonegg/trunk/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-convert.cpp?rev=94898&r1=94897&r2=94898&view=diff
==============================================================================
--- dragonegg/trunk/llvm-convert.cpp (original)
+++ dragonegg/trunk/llvm-convert.cpp Sat Jan 30 11:08:57 2010
@@ -3773,6 +3773,10 @@
//TODO }
case BUILT_IN_SYNCHRONIZE: {
+#if defined(TARGET_ARM)
+ if (TARGET_THUMB1 || !arm_arch6)
+ return false;
+#endif
// We assume like gcc appears to, that this only applies to cached memory.
Value* C[5];
C[0] = C[1] = C[2] = C[3] = ConstantInt::get(Type::getInt1Ty(Context), 1);
More information about the llvm-commits
mailing list