[llvm-commits] [llvm-gcc-4.2] r52273 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

Andrew Lenharth alenhar2 at cs.uiuc.edu
Sat Jun 14 05:08:06 PDT 2008


Author: alenhar2
Date: Sat Jun 14 07:07:46 2008
New Revision: 52273

URL: http://llvm.org/viewvc/llvm-project?rev=52273&view=rev
Log:
cut-and-paste-o

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=52273&r1=52272&r2=52273&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Sat Jun 14 07:07:46 2008
@@ -4730,7 +4730,7 @@
     C[1] = Builder.CreateIntCast(C[1], Ty, "cast");
     Result = 
       Builder.CreateCall(Intrinsic::getDeclaration(TheModule, 
-                                                   Intrinsic::atomic_las, 
+                                                   Intrinsic::atomic_lss, 
                                                    &Ty, 1),
                          C, C + 2);
     Result = Builder.CreateSub(Result, C[1]);
@@ -4756,7 +4756,7 @@
     C[1] = Builder.CreateIntCast(C[1], Ty, "cast");
     Result = 
       Builder.CreateCall(Intrinsic::getDeclaration(TheModule, 
-                                                   Intrinsic::atomic_las, 
+                                                   Intrinsic::atomic_load_or, 
                                                    &Ty, 1),
                          C, C + 2);
     Result = Builder.CreateOr(Result, C[1]);
@@ -4782,7 +4782,7 @@
     C[1] = Builder.CreateIntCast(C[1], Ty, "cast");
     Result = 
       Builder.CreateCall(Intrinsic::getDeclaration(TheModule, 
-                                                   Intrinsic::atomic_las, 
+                                                   Intrinsic::atomic_load_xor, 
                                                    &Ty, 1),
                          C, C + 2);
     Result = Builder.CreateXor(Result, C[1]);
@@ -4808,7 +4808,7 @@
     C[1] = Builder.CreateIntCast(C[1], Ty, "cast");
     Result = 
       Builder.CreateCall(Intrinsic::getDeclaration(TheModule, 
-                                                   Intrinsic::atomic_las, 
+                                                   Intrinsic::atomic_load_nand, 
                                                    &Ty, 1),
                          C, C + 2);
     Result = Builder.CreateAnd(Builder.CreateNot(Result), C[1]);





More information about the llvm-commits mailing list