llvm-6502/lib
Dan Gohman 77003040b2 Don't lower srem/urem X%C to X-X/C*C unless the division is actually
optimized. This avoids creating illegal divisions when the combiner is
running after legalize; this fixes PR1815. Also, it produces better
code in the included testcase by avoiding the subtract and multiply
when the division isn't optimized.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44341 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-26 23:46:11 +00:00
..
Analysis Fix a silly bug that Nicholas noticed. 2007-11-26 03:27:38 +00:00
Archive
AsmParser
Bitcode
CodeGen Don't lower srem/urem X%C to X-X/C*C unless the division is actually 2007-11-26 23:46:11 +00:00
Debugger
ExecutionEngine
Linker
Support
System
Target
Transforms Fix another bug that was causing siod to fail. 2007-11-26 07:17:19 +00:00
VMCore Fix PR1816. If a bitcast of a function only exists because of a 2007-11-25 14:10:56 +00:00
Makefile