[llvm-commits] [llvm-gcc-4.2] r49950 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Evan Cheng
evan.cheng at apple.com
Fri Apr 18 20:33:01 PDT 2008
Author: evancheng
Date: Fri Apr 18 22:32:59 2008
New Revision: 49950
URL: http://llvm.org/viewvc/llvm-project?rev=49950&view=rev
Log:
Enable PPC atomic operations codegen.
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=49950&r1=49949&r2=49950&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Fri Apr 18 22:32:59 2008
@@ -4351,7 +4351,7 @@
C, C + 5);
return true;
}
-#if defined(TARGET_ALPHA) || defined(TARGET_386)
+#if defined(TARGET_ALPHA) || defined(TARGET_386) || defined(TARGET_POWERPC)
//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