[llvm-commits] [llvm-gcc-4.2] r47801 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Sat Mar 1 15:36:22 PST 2008
Author: alenhar2
Date: Sat Mar 1 17:36:21 2008
New Revision: 47801
URL: http://llvm.org/viewvc/llvm-project?rev=47801&view=rev
Log:
turn on some atomics for a couple platforms
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp?rev=47801&r1=47800&r2=47801&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Sat Mar 1 17:36:21 2008
@@ -4294,7 +4294,7 @@
C, C + 5);
return true;
}
-#if 0 //FIXME: these break the build for backends that haven't implemented them
+#if defined(TARGET_386) || defined(TARGET_ALPHA)
//gcc uses many names for the sync intrinsics
case BUILT_IN_VAL_COMPARE_AND_SWAP_1:
case BUILT_IN_VAL_COMPARE_AND_SWAP_2:
More information about the llvm-commits
mailing list