aboutsummaryrefslogtreecommitdiff
path: root/docs/CommandGuide
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2005-12-12 20:32:18 +0000
committerEvan Cheng <evan.cheng@apple.com>2005-12-12 20:32:18 +0000
commitcbd6ed4d6bd4b48a4344691ad60d441382f85b37 (patch)
treed0f5d47822cc8d371a2c7806e8aaaef6cfe9cd3b /docs/CommandGuide
parent110f2243fcd0d6ad93e80eb6ea70b0f234cd15f1 (diff)
For ISD::RET, if # of operands >= 2, try selection the real data dep. operand
first before the chain. e.g. int X; int foo(int x) { x += X + 37; return x; } If chain operand is selected first, we would generate: movl X, %eax movl 4(%esp), %ecx leal 37(%ecx,%eax), %eax rather than movl $37, %eax addl 4(%esp), %eax addl X, %eax which does not require %ecx. (Due to ADD32rm not matching.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24673 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions