aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-08-05 18:34:30 +0000
committerEric Christopher <echristo@apple.com>2010-08-05 18:34:30 +0000
commit4abffad17cd045f27f20b47eb2a9199bd5df5bad (patch)
tree165f8657fc0699f69dcdf89287d92d62d74f5be5 /llvm/lib
parentadb93e56a3937a289eab0da0111125a8fc3afb19 (diff)
downloadllvm-4abffad17cd045f27f20b47eb2a9199bd5df5bad.zip
llvm-4abffad17cd045f27f20b47eb2a9199bd5df5bad.tar.gz
llvm-4abffad17cd045f27f20b47eb2a9199bd5df5bad.tar.bz2
Handle the pseudo in MCInstLower.
llvm-svn: 110359
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86MCInstLower.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86MCInstLower.cpp b/llvm/lib/Target/X86/X86MCInstLower.cpp
index e55b726..ae20e68 100644
--- a/llvm/lib/Target/X86/X86MCInstLower.cpp
+++ b/llvm/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: