llvm-6502/test
Jan Wen Voung 1a63641597 Fix ARM peephole optimizeCompare to avoid optimizing unsigned cmp to 0.
Summary:
Previously it only avoided optimizing signed comparisons to 0.
Sometimes the DAGCombiner will optimize the unsigned comparisons
to 0 before it gets to the peephole pass, but sometimes it doesn't.

Fix for PR22373.

Test Plan: test/CodeGen/ARM/sub-cmp-peephole.ll

Reviewers: jfb, manmanren

Subscribers: aemerson, llvm-commits

Differential Revision: http://reviews.llvm.org/D7274

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227809 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-02 16:56:50 +00:00
..
Analysis [PM] Change the core design of the TTI analysis to use a polymorphic 2015-01-31 03:43:40 +00:00
Assembler
Bindings
Bitcode Check bit widths before trying to get a type. 2015-01-30 18:13:50 +00:00
BugPoint
CodeGen Fix ARM peephole optimizeCompare to avoid optimizing unsigned cmp to 0. 2015-02-02 16:56:50 +00:00
DebugInfo Fix PR22393. When recursively replacing an aggregate with a smaller 2015-02-01 00:58:04 +00:00
ExecutionEngine [Orc] Remove one of the OrcMCJITReplacement regression tests while I 2015-02-02 06:01:02 +00:00
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO Introduce llvm/test/LTO/X86. LTO tests may be assumed as target-specific. 2015-01-30 10:09:26 +00:00
MC [Hexagon] Adding vector shift instructions and tests. 2015-01-30 21:58:46 +00:00
Object
Other [PM] Teach the module-to-function adaptor to not run function passes 2015-02-01 10:47:25 +00:00
SymbolRewriter
TableGen
tools llvm-readobj: add a test case for ARM_MOV32(T) base relocation 2015-01-31 04:46:50 +00:00
Transforms Fix: SLPVectorizer crashes with assertion when vectorizing a cmp instruction. 2015-02-02 12:45:34 +00:00
Unit
Verifier Fix statepoint verifier tests to actually test verifier. 2015-01-30 23:18:42 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh