llvm-6502/lib
Hal Finkel 87c1e42be7 Fix PPC optimizeCompareInstr swapped-sub argument handling
When matching a compare with a subtract where the arguments of the compare are
swapped w.r.t. the arguments of the subtract, we need to negate the predicates
(or CR bit indices) of the users. This, however, is not the same as inverting
the predicate (negating LT -> GT, but inverting LT -> GE, for example). The ARM
backend seems to do this correctly, but when I adapted the code for the PPC
backend, I introduced an error in this logic.

Comparison optimization is now enabled again by default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179899 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-19 22:08:38 +00:00
..
Analysis ConstantFolding: ComputeMaskedBits wants the scalar size for vectors. 2013-04-19 16:56:24 +00:00
Archive Fix auto_ptr is deprecated warnings 2013-02-26 21:20:35 +00:00
AsmParser Fix comment. Patch by Stephen Lin. 2013-04-18 18:30:16 +00:00
Bitcode Whitespace cleanup 2013-04-01 02:28:07 +00:00
CodeGen Add an MRI::verifyUseLists() function. 2013-04-19 21:40:57 +00:00
DebugInfo Use StringSwitch instead of long chain of if-else. No functionality change. 2013-04-17 14:27:04 +00:00
ExecutionEngine Two small cleanups for ELF's templates. 2013-04-17 21:20:55 +00:00
IR 80-col fixup. 2013-04-19 20:37:12 +00:00
IRReader Measure time that IR parsing took as part of the -time-passes measurement. 2013-04-03 15:33:45 +00:00
Linker Specutively revert r178130. 2013-03-27 17:54:41 +00:00
MC Relax this assert. It may not hold in all cases. 2013-04-18 23:16:46 +00:00
Object refactor the struct byte swapping to a helper function. 2013-04-19 13:45:05 +00:00
Option Resort the #include lines in include/... and lib/... with the 2013-01-02 10:22:59 +00:00
Support Make the host endianness check an integer constant expression. 2013-04-15 14:44:24 +00:00
TableGen Allow TableGen DAG arguments to be just a name. 2013-03-24 19:36:51 +00:00
Target Fix PPC optimizeCompareInstr swapped-sub argument handling 2013-04-19 22:08:38 +00:00
Transforms LoopVectorizer: Use matcher from PatternMatch.h for the min/max patterns 2013-04-19 21:03:36 +00:00
CMakeLists.txt Split out the IRReader header and the utility functions it provides into 2013-03-26 02:25:37 +00:00
LLVMBuild.txt Split out the IRReader header and the utility functions it provides into 2013-03-26 02:25:37 +00:00
Makefile Split out the IRReader header and the utility functions it provides into 2013-03-26 02:25:37 +00:00