[llvm-commits] [llvm] r110359 - /llvm/trunk/lib/Target/X86/X86MCInstLower.cpp

Eric Christopher echristo at apple.com
Thu Aug 5 11:34:30 PDT 2010


Author: echristo
Date: Thu Aug  5 13:34:30 2010
New Revision: 110359

URL: http://llvm.org/viewvc/llvm-project?rev=110359&view=rev
Log:
Handle the pseudo in MCInstLower.

Modified:
    llvm/trunk/lib/Target/X86/X86MCInstLower.cpp

Modified: llvm/trunk/lib/Target/X86/X86MCInstLower.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86MCInstLower.cpp?rev=110359&r1=110358&r2=110359&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86MCInstLower.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86MCInstLower.cpp Thu Aug  5 13:34:30 2010
@@ -515,6 +515,12 @@
     }
     return;
 
+  // Emit nothing here but a comment if we can.
+  case X86::Int_MemBarrier:
+    if (OutStreamer.hasRawTextSupport())
+      OutStreamer.EmitRawText(StringRef("\t#MEMBARRIER"));
+    return;
+        
   case X86::TAILJMPr:
   case X86::TAILJMPd:
   case X86::TAILJMPd64:





More information about the llvm-commits mailing list