aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-08-17 00:20:08 +0000
committerNate Begeman <natebegeman@mac.com>2005-08-17 00:20:08 +0000
commit456f1e890cb059fedb9f5d3f315c80e4f98f429b (patch)
treea2b52c81079ac85655d0e3574b1ea978927f396b /lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parentf7cc47cdfe53350b8fc99551732b5656ef9b0f0a (diff)
Implement a couple improvements:
Remove dead code in ISD::Constant handling Add support for add long, imm16 We now codegen 'long long foo(long long a) { return ++a; }' as: addic r4, r4, 1 addze r3, r3 blr instead of: li r2, 1 li r5, 0 addc r2, r4, r2 adde r3, r3, r5 blr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22811 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions