llvm-6502/lib
Chris Lattner 2ad913b342 Disable the (A == (B-A)) -> 2*A == B xform when the sub has multiple uses (in
this case, the xform introduces an extra operation).  This compiles
PowerPC/compare-duplicate.ll into:

_test:
        subf r2, r3, r4
        cmplw cr0, r2, r3
        bne cr0, LBB1_2 ;F

instead of:

_test:
        slwi r2, r3, 1
        subf r3, r3, r4
        cmplw cr0, r4, r2
        bne cr0, LBB1_2 ;F

This is target independent of course.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37246 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-19 00:43:44 +00:00
..
Analysis Add passes -view-cfg and -view-cfg-only that are like -print-cfg and 2007-05-14 14:25:08 +00:00
Archive adjust this to live in lib/Archive 2007-05-06 19:49:28 +00:00
AsmParser regenerate 2007-05-04 04:01:37 +00:00
Bitcode Fix PR1434 and test/Linker/link-archive.ll, this is a regression from 1.9. 2007-05-18 04:02:46 +00:00
CodeGen Disable the (A == (B-A)) -> 2*A == B xform when the sub has multiple uses (in 2007-05-19 00:43:44 +00:00
Debugger switch this to bitcode instead of bytecode 2007-05-06 09:29:13 +00:00
ExecutionEngine Print integer values as both decimal and hexadecimal for convenience 2007-05-17 06:47:54 +00:00
Linker switch this to bitcode instead of bytecode 2007-05-06 09:29:13 +00:00
Support Fix an assertion introduced by my last change to the toString method. We 2007-05-19 00:29:55 +00:00
System Fix a bug where the bcreader could crash on .bc files that were an exact 2007-05-11 00:00:27 +00:00
Target Apply this patch: 2007-05-18 23:21:46 +00:00
Transforms Fix PR1431 2007-05-17 22:10:15 +00:00
VMCore Update comments to say "vector" instead of "packed". 2007-05-11 21:43:24 +00:00
Makefile build lib/Archive instead of lib/Bytecode 2007-05-06 19:50:06 +00:00