llvm-6502/lib/Transforms
Chris Lattner 5f3b0eeddb 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
2006-02-05 07:54:04 +00:00
..
Hello
Instrumentation Add explicit #includes of <iostream> 2006-01-22 22:53:01 +00:00
IPO add a bunch more optimizations for unary double math functions 2006-01-23 06:24:46 +00:00
Scalar Turn A % (C << N), where C is 2^k, into A & ((C << N)-1) [urem only]. 2006-02-05 07:54:04 +00:00
Utils teach the cloner to handle inline asms 2006-01-26 01:55:22 +00:00
ExprTypeConvert.cpp Add explicit #includes of <iostream> 2006-01-22 22:53:01 +00:00
LevelRaise.cpp Make iostream #inclusion explicit 2006-01-22 23:32:06 +00:00
Makefile DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now 2005-10-24 02:26:13 +00:00
TransformInternals.cpp Remove dead #include 2005-10-29 04:41:30 +00:00
TransformInternals.h ConvertibleToGEP always returns 0, remove some old crufty code which 2005-07-26 16:38:28 +00:00