summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86InstrInfo.td
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-20 07:32:00 +0000
committerChris Lattner <sabre@nondot.org>2009-09-20 07:32:00 +0000
commit71c7ace54f16c92c08d63cacc92e3e4e00687074 (patch)
tree4256aba38addd19babb0a86a51220e3f4eca9ae6 /lib/Target/X86/X86InstrInfo.td
parent149cbc2a2418e506c71abe7759c9c81eea68976b (diff)
downloadllvm-71c7ace54f16c92c08d63cacc92e3e4e00687074.tar.gz
llvm-71c7ace54f16c92c08d63cacc92e3e4e00687074.tar.bz2
llvm-71c7ace54f16c92c08d63cacc92e3e4e00687074.tar.xz
remove the asmstring, it is now dead. Improve comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrInfo.td')
-rw-r--r--lib/Target/X86/X86InstrInfo.td7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td
index 331875ec03..30b57d85d0 100644
--- a/lib/Target/X86/X86InstrInfo.td
+++ b/lib/Target/X86/X86InstrInfo.td
@@ -546,11 +546,12 @@ let neverHasSideEffects = 1 in {
def INT3 : I<0xcc, RawFrm, (outs), (ins), "int 3", []>;
def INT : I<0xcd, RawFrm, (outs), (ins i8imm:$trap), "int\t$trap", []>;
-// PIC base
+// PIC base construction. This expands to code that looks like this:
+// call $next_inst
+// popl %destreg"
let neverHasSideEffects = 1, isNotDuplicable = 1, Uses = [ESP] in
def MOVPC32r : Ii32<0xE8, Pseudo, (outs GR32:$reg), (ins i32imm:$label),
- "call\t$label\n\t"
- "pop{l}\t$reg", []>;
+ "", []>;
//===----------------------------------------------------------------------===//
// Control Flow Instructions...