summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-05 07:54:04 +0000
committerChris Lattner <sabre@nondot.org>2006-02-05 07:54:04 +0000
commit2e90b732fae2a5188905e6f46c39b134ae9a71a6 (patch)
tree3ce55a434ba65593cb0e0e3e272b285d84cc919f /llvm/lib/CodeGen
parentb624bb5f0d87ca38462673a37113a813cdf772f2 (diff)
downloadbcm5719-llvm-2e90b732fae2a5188905e6f46c39b134ae9a71a6.tar.gz
bcm5719-llvm-2e90b732fae2a5188905e6f46c39b134ae9a71a6.zip
Turn A % (C << N), where C is 2^k, into A & ((C << N)-1) [urem only].
Turn A / (C1 << N), where C1 is "1<<C2" into A >> (N+C2) [udiv only]. Tested with: rem.ll:test5, div.ll:test10 llvm-svn: 26003
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud