llvm-6502/test
Richard Sandiford aff1c6427c [SystemZ] Tweak integer comparison code
The architecture has many comparison instructions, including some that
extend one of the operands.  The signed comparison instructions use sign
extensions and the unsigned comparison instructions use zero extensions.
In cases where we had a free choice between signed or unsigned comparisons,
we were trying to decide at lowering time which would best fit the available
instructions, taking things like extension type into account.  The code
to do that was getting increasingly hairy and was also making some bad
decisions.  E.g. when comparing the result of two LLCs, it is better to use
CR rather than CLR, since CR can be fused with a branch while CLR can't.

This patch removes the lowering code and instead adds an operand to
integer comparisons to say whether signed comparison is required,
whether unsigned comparison is required, or whether either is OK.
We can then leave the choice of instruction up to the normal isel code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190138 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-06 11:51:39 +00:00
..
Analysis
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen [SystemZ] Tweak integer comparison code 2013-09-06 11:51:39 +00:00
DebugInfo Debug Info: Use identifier to reference DIType in base type field of 2013-09-05 18:48:31 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker Error on linking appending globals with different unnamed_addr. 2013-09-04 15:33:34 +00:00
MC Fixed a crash in the integrated assembler for Mach-O when a symbol difference 2013-09-05 20:25:06 +00:00
Object
Other
TableGen
tools
Transforms Merge these 2 tests in a single file. 2013-09-04 19:19:32 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh