summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-30 06:41:49 +0000
committerChris Lattner <sabre@nondot.org>2005-10-30 06:41:49 +0000
commita70878d4fb3a7595f9d5c55e6c1d0d77a77015c5 (patch)
tree7380b8bf3d5c36cd5a499372aab17a28dec2a602 /llvm/lib/CodeGen/RegAllocLinearScan.cpp
parent9cc9f0fca1942daf8b119c10314e1728b77217d6 (diff)
downloadbcm5719-llvm-a70878d4fb3a7595f9d5c55e6c1d0d77a77015c5.tar.gz
bcm5719-llvm-a70878d4fb3a7595f9d5c55e6c1d0d77a77015c5.zip
Codegen mul by negative power of two with a shift and negate.
This implements test/Regression/CodeGen/PowerPC/mul-neg-power-2.ll, producing: _foo: slwi r2, r3, 1 subfic r3, r2, 63 blr instead of: _foo: mulli r2, r3, -2 addi r3, r2, 63 blr llvm-svn: 24106
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud