summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-05-01 04:42:00 +0000
committerCraig Topper <craig.topper@intel.com>2018-05-01 04:42:00 +0000
commit33dc01d105c08644c5b08c8c37879c6528edfdea (patch)
tree06696b6d0b3ccd641ccab9067d7788dc21437a8f /llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
parent09a1a39874d49c5a237c99a48757a5a49a3b011f (diff)
downloadbcm5719-llvm-33dc01d105c08644c5b08c8c37879c6528edfdea.tar.gz
bcm5719-llvm-33dc01d105c08644c5b08c8c37879c6528edfdea.zip
[X86] Remove 'opaque ptr' from the intel syntax parser and printer.
Previously for instructions like fxsave we would print "opaque ptr" as part of the memory operand. Now we print nothing. We also no longer accept "opaque ptr" in the parser. We still accept any size to be specified for these instructions, but we may want to consider only parsing when no explicit size is specified. This what gas does. llvm-svn: 331243
Diffstat (limited to 'llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h')
-rw-r--r--llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h b/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
index fdef8a85657..c8e1f0dbf8b 100644
--- a/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
+++ b/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
@@ -49,7 +49,6 @@ public:
}
void printopaquemem(const MCInst *MI, unsigned OpNo, raw_ostream &O) {
- O << "opaque ptr ";
printMemReference(MI, OpNo, O);
}
OpenPOWER on IntegriCloud