[llvm-commits] [dragonegg] r92701 - /dragonegg/trunk/llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Mon Jan 4 23:04:48 PST 2010
Author: baldrick
Date: Tue Jan 5 01:04:47 2010
New Revision: 92701
URL: http://llvm.org/viewvc/llvm-project?rev=92701&view=rev
Log:
Port commit 91387 (grosbach) from llvm-gcc:
ARM doesn't support double-word atomics yet. Fix copy-paste error and a missed case.
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=92701&r1=92700&r2=92701&view=diff
==============================================================================
--- dragonegg/trunk/llvm-convert.cpp (original)
+++ dragonegg/trunk/llvm-convert.cpp Tue Jan 5 01:04:47 2010
@@ -4762,8 +4762,7 @@
}
case BUILT_IN_FETCH_AND_ADD_8:
#if defined(TARGET_ARM)
- if (TARGET_THUMB1 || !arm_arch6)
- return false;
+ return false;
#endif
#if defined(TARGET_POWERPC)
if (!TARGET_64BIT)
@@ -5050,6 +5049,9 @@
return true;
}
case BUILT_IN_AND_AND_FETCH_8:
+#if defined(TARGET_ARM)
+ return false;
+#endif
#if defined(TARGET_POWERPC)
if (!TARGET_64BIT)
return false;
More information about the llvm-commits
mailing list