diff options
author | Dan Gohman <gohman@apple.com> | 2008-05-29 21:50:34 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-05-29 21:50:34 +0000 |
commit | b4106170dde7db16af602e87bdd15ddc47e34321 (patch) | |
tree | 01ecdf44ad82e141923f016c9905ca551917b743 /lib/Target/X86/X86InstrInfo.td | |
parent | eecfa369eb91838fbd833183717b2579a0127acb (diff) | |
download | llvm-b4106170dde7db16af602e87bdd15ddc47e34321.tar.gz llvm-b4106170dde7db16af602e87bdd15ddc47e34321.tar.bz2 llvm-b4106170dde7db16af602e87bdd15ddc47e34321.tar.xz |
Add patterns for CALL32m and CALL64m. They aren't matched in most
cases due to an isel deficiency already noted in
lib/Target/X86/README.txt, but they can be matched in this fold-call.ll
testcase, for example.
This is interesting mainly because it exposes a tricky tblgen bug;
tblgen was incorrectly computing the starting index for variable_ops
in the case of a complex pattern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51706 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrInfo.td')
-rw-r--r-- | lib/Target/X86/X86InstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index d0bd9552d0..4ffc303c37 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -397,7 +397,7 @@ let isCall = 1 in def CALL32r : I<0xFF, MRM2r, (outs), (ins GR32:$dst, variable_ops), "call\t{*}$dst", [(X86call GR32:$dst)]>; def CALL32m : I<0xFF, MRM2m, (outs), (ins i32mem:$dst, variable_ops), - "call\t{*}$dst", []>; + "call\t{*}$dst", [(X86call (loadi32 addr:$dst))]>; } // Tail call stuff. |