llvm-project/llvm/test
Ulrich Weigand 524f276c74 [SystemZ] Improve use of conditional instructions
This patch moves formation of LOC-type instructions from (late)
IfConversion to the early if-conversion pass, and in some cases
additionally creates them directly from select instructions
during DAG instruction selection.

To make early if-conversion work, the patch implements the
canInsertSelect / insertSelect callbacks.  It also implements
the commuteInstructionImpl and FoldImmediate callbacks to
enable generation of the full range of LOC instructions.

Finally, the patch adds support for all instructions of the
load-store-on-condition-2 facility, which allows using LOC
instructions also for high registers.

Due to the use of the GRX32 register class to enable high registers,
we now also have to handle the cases where there are still no single
hardware instructions (conditional move from a low register to a high
register or vice versa).  These are converted back to a branch sequence
after register allocation.  Since the expandRAPseudos callback is not
allowed to create new basic blocks, this requires a simple new pass,
modelled after the ARM/AArch64 ExpandPseudos pass.

Overall, this patch causes significantly more LOC-type instructions
to be used, and results in a measurable performance improvement.

llvm-svn: 288028
2016-11-28 13:34:08 +00:00
..
Analysis [InstSimplify] allow integer vector types to use computeKnownBits 2016-11-27 21:07:28 +00:00
Assembler IR: Introduce inrange attribute on getelementptr indices. 2016-11-10 22:34:55 +00:00
Bindings [C API] Prevent nullptr dereferences in C API for counting attributes. 2016-11-15 22:19:59 +00:00
Bitcode Bitcode: Introduce initial multi-module reader API. 2016-11-16 21:44:45 +00:00
BugPoint Add -strip-nonlinetable-debuginfo capability 2016-10-25 18:44:13 +00:00
CodeGen [SystemZ] Improve use of conditional instructions 2016-11-28 13:34:08 +00:00
DebugInfo [AsmPrinter] Enable codeview for windows-itanium 2016-11-21 20:13:32 +00:00
Examples
ExecutionEngine Make this test Windows-only (try to placate buildbots). 2016-11-03 16:43:10 +00:00
Feature
FileCheck
Instrumentation [asan] Make ASan compatible with linker dead stripping on Windows 2016-11-21 20:40:37 +00:00
Integer
JitListener
LTO Rename option to -lto-pass-remarks-output 2016-11-22 07:35:14 +00:00
LibDriver
Linker Linker: Remove unnecessary call to copyMetadata in IRLinker::linkGlobalVariable. 2016-11-14 23:18:38 +00:00
MC [SystemZ] Improve use of conditional instructions 2016-11-28 13:34:08 +00:00
Object llvm-nm: Don't print value or size for undefined or weak symbols 2016-11-23 20:17:15 +00:00
ObjectYAML
Other Analysis: gep inbounds (gep inbounds (...)) is inbounds. 2016-11-22 01:03:40 +00:00
SymbolRewriter
TableGen TableGen: Add operator !or 2016-11-15 06:49:28 +00:00
ThinLTO/X86 Rename option to -lto-pass-remarks-output 2016-11-22 07:35:14 +00:00
Transforms [InlineCost] Reduce inline thresholds to compensate for cost changes 2016-11-28 11:07:37 +00:00
Unit
Verifier Verifier: Reject any unknown named MD nodes in the llvm.dbg namespace. 2016-10-05 22:15:37 +00:00
YAMLParser
tools llvm-nm: Print correct symbol types for init and fini sections 2016-11-23 20:17:20 +00:00
.clang-format
CMakeLists.txt [OCaml] Clear cross-target test deps when building out-of-tree 2016-11-12 14:58:30 +00:00
TestRunner.sh
lit.cfg test: synchronise lit substitutions 2016-11-13 19:37:00 +00:00
lit.site.cfg.in