[llvm-commits] [poolalloc] r141364 - /poolalloc/trunk/lib/DSA/Local.cpp

John Criswell criswell at uiuc.edu
Fri Oct 7 08:42:13 PDT 2011


Author: criswell
Date: Fri Oct  7 10:42:13 2011
New Revision: 141364

URL: http://llvm.org/viewvc/llvm-project?rev=141364&view=rev
Log:
Removed atomic and memory fencing intrinsics as they've been replaced with
real LLVM instructions.

Modified:
    poolalloc/trunk/lib/DSA/Local.cpp

Modified: poolalloc/trunk/lib/DSA/Local.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/Local.cpp?rev=141364&r1=141363&r2=141364&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/Local.cpp (original)
+++ poolalloc/trunk/lib/DSA/Local.cpp Fri Oct  7 10:42:13 2011
@@ -858,8 +858,6 @@
       ->foldNodeCompletely();
     return true;
   case Intrinsic::vaend:
-  case Intrinsic::memory_barrier:
-    return true;  // noop
   case Intrinsic::memcpy: 
   case Intrinsic::memmove: {
     // Merge the first & second arguments, and mark the memory read and
@@ -904,6 +902,7 @@
     return true;
   }
 
+#if 0
   case Intrinsic::atomic_cmp_swap: {
     DSNodeHandle Ptr = getValueDest(*CS.arg_begin());
     Ptr.getNode()->setReadMarker();
@@ -932,6 +931,7 @@
       if (isa<PointerType>(F->getReturnType()))
         setDestTo(*CS.getInstruction(), getValueDest(*(CS.arg_begin() + 1)));
     }
+#endif
 
 
 





More information about the llvm-commits mailing list