1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test
Richard Sandiford 8d6edc5218 [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.

llvm-svn: 190138
2013-09-06 11:51:39 +00:00
..
Analysis Fix lint assert on integer vector division 2013-08-26 23:29:33 +00:00
Assembler Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
Bindings/Ocaml [PR11606] ocaml bindings tests produce binaries in source dir 2013-08-23 00:55:32 +00:00
Bitcode Add function attribute 'optnone'. 2013-08-23 11:53:55 +00:00
BugPoint [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
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 llvm interpreter: select, shuffle and insertelement instructions. 2013-09-02 06:40:09 +00:00
Feature Add function attribute 'optnone'. 2013-08-23 11:53:55 +00:00
FileCheck [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Instrumentation [msan] Fix handling of select with struct arguments. 2013-09-03 13:05:29 +00:00
Integer [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
JitListener Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
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 Add a minimal implementation of ranlib. 2013-08-28 16:22:16 +00:00
Other Update to remove the no-frame-pointer-elim-non-leaf flag if it was set to 'false'. 2013-08-22 21:28:54 +00:00
TableGen FileCheckize some tests. 2013-08-22 20:46:05 +00:00
tools Print string value for DT_RPATH and DT_RUNPATH. 2013-09-03 17:13:53 +00:00
Transforms Merge these 2 tests in a single file. 2013-09-04 19:19:32 +00:00
Unit [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 16:22:05 +00:00
Verifier [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
YAMLParser
CMakeLists.txt
lit.cfg Restore llvm-ranlib expansion in RUN-lines removed in r184019 2013-08-30 12:53:22 +00:00
lit.site.cfg.in [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 16:22:05 +00:00
Makefile [tests] Remove dead VALGRIND and CLEANED_TESTSUITE makefile variables. 2013-08-08 20:59:27 +00:00
Makefile.tests
TestRunner.sh