aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/DwarfWriter.cpp
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
commit5f3b0eeddb3f2da6a0012592d7b6b266fcea1ea6 (patch)
treef63571e168dd4a15fde8b1495541de09cc289494 /lib/CodeGen/DwarfWriter.cpp
parentfee906b482f2608d10435a583c9851fa6cd777a7 (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26003 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
0 files changed, 0 insertions, 0 deletions