aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineBasicBlock.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-03-04 19:23:38 +0000
committerDan Gohman <gohman@apple.com>2009-03-04 19:23:38 +0000
commitb37a8206b6ba10c2bd59e19811dfd88091021556 (patch)
treee2659d5ff5d55a6cf88649b0589f15a5772012e2 /include/llvm/CodeGen/MachineBasicBlock.h
parent88fe1ad187041e2ca636e0f86204e30fc6e14300 (diff)
When using MachineInstr operand indices on SDNodes, the number
of MachineInstr def operands must be subtracted out. This bug was uncovered by the recent x86 EFLAGS optimization. Before that, the only instructions that ever needed unfolding were things like CMP32rm, where NumDefs is zero. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineBasicBlock.h')
0 files changed, 0 insertions, 0 deletions