Go to file
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
clang [Sema] Set range end of constructors and destructors in template instantiations 2016-11-28 11:11:34 +00:00
clang-tools-extra [clang-move] Enable dump all declarations in old header. 2016-11-24 10:17:17 +00:00
compiler-rt [tsan] Fix the lit expansion of %deflake not to eat a space 2016-11-26 19:09:32 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx Implement conjuntion/disjuntion/negation for LFTS v2. Same code and tests for the ones in std:: 2016-11-26 18:45:03 +00:00
libcxxabi __cxa_demangle: use default member initialization 2016-11-18 19:01:53 +00:00
libunwind EHABI: mark some functions as exported 2016-11-17 23:53:35 +00:00
lld [ELF] - Do not put non exec sections first when -no-rosegment 2016-11-28 10:26:21 +00:00
lldb skip android in @skipIfHostIncompatibleWithRemote 2016-11-28 12:15:19 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [SystemZ] Improve use of conditional instructions 2016-11-28 13:34:08 +00:00
openmp Set task->td_dephash to NULL after free 2016-11-21 16:24:59 +00:00
parallel-libs [Acxxel] Remove setActiveDeviceForThread 2016-10-28 00:54:02 +00:00
polly [ScopInfo] Use SCEVRewriteVisitor to simplify SCEVSensitiveParameterRewriter [NFC] 2016-11-26 17:58:40 +00:00