llvm/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 finishing touches of bytecode -> bitcode changes. also unbreak Windows 2007-07-06 20:28:40 +00:00
AsmParser Rename the 'const' parameter attribute to 'readnone', 2007-11-22 20:23:04 +00:00
Bitcode In order for parameter attribute uniquing to make 2007-11-20 14:09:29 +00:00
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 Executive summary: getTypeSize -> getTypeStoreSize / getABITypeSize. 2007-11-01 20:53:16 +00:00
Linker Use correct parentheses with the '&& "..."' idiom in an assert. 2007-10-08 15:13:30 +00:00
Support Fix PR1816, by correcting the broken definition of APInt::countTrailingZeros. 2007-11-23 22:42:31 +00:00
System This change does a couple of things. First it gets the Visual Studio builds working. 2007-11-21 00:37:56 +00:00
Target Fix a long standing deficiency in the X86 backend: we would 2007-11-25 00:24:49 +00:00
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