projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff7178
)
Handle the pseudo in MCInstLower.
author
Eric Christopher
<echristo@apple.com>
Thu, 5 Aug 2010 18:34:30 +0000
(18:34 +0000)
committer
Eric Christopher
<echristo@apple.com>
Thu, 5 Aug 2010 18:34:30 +0000
(18:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110359
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86MCInstLower.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86MCInstLower.cpp
b/lib/Target/X86/X86MCInstLower.cpp
index e55b7265cb92fa45b44e2dc01e600b23da816de3..ae20e689ef8346b76f123873384e1ee243df4a83 100644
(file)
--- 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: