Add patterns for CALL32m and CALL64m. They aren't matched in most
authorDan Gohman <gohman@apple.com>
Thu, 29 May 2008 21:50:34 +0000 (21:50 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 29 May 2008 21:50:34 +0000 (21:50 +0000)
commitb4106170dde7db16af602e87bdd15ddc47e34321
tree01ecdf44ad82e141923f016c9905ca551917b743
parenteecfa369eb91838fbd833183717b2579a0127acb
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
lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td
test/CodeGen/X86/fold-call.ll [new file with mode: 0644]
utils/TableGen/DAGISelEmitter.cpp