diff options
author | Eric Christopher <echristo@apple.com> | 2010-08-05 18:34:30 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-08-05 18:34:30 +0000 |
commit | c34ea3770e2d3f24c037d4f469d27c08f7b0cb4b (patch) | |
tree | a3aac992c1778dabee2abb4bb5c6bf9246cf6680 /lib/Target/X86/X86MCInstLower.cpp | |
parent | cff71788446f17fa691a2768d8c11f46ae3206a2 (diff) |
Handle the pseudo in MCInstLower.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86MCInstLower.cpp')
-rw-r--r-- | lib/Target/X86/X86MCInstLower.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/X86/X86MCInstLower.cpp b/lib/Target/X86/X86MCInstLower.cpp index e55b7265cb..ae20e689ef 100644 --- a/lib/Target/X86/X86MCInstLower.cpp +++ b/lib/Target/X86/X86MCInstLower.cpp @@ -515,6 +515,12 @@ void X86AsmPrinter::EmitInstruction(const MachineInstr *MI) { } 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: |