llvm-project/llvm/test/Transforms/CodeGenPrepare
Sanjay Patel d47eac59ef [CodeGenPrepare] limit formation of overflow intrinsics (PR41129)
This is probably a bigger limitation than necessary, but since we don't have any evidence yet
that this transform led to real-world perf improvements rather than regressions, I'm making a
quick, blunt fix.

In the motivating x86 example from:
https://bugs.llvm.org/show_bug.cgi?id=41129
...and shown in the regression test, we want to avoid an extra instruction in the dominating
block because that could be costly.

The x86 LSR test diff is reversing the changes from D57789. There's no evidence that 1 version
is any better than the other yet.

Differential Revision: https://reviews.llvm.org/D59602

llvm-svn: 356665
2019-03-21 13:57:07 +00:00
..
AArch64 [CGP] Add support for sinking operands to their users, if they are free. 2019-02-05 10:27:40 +00:00
AMDGPU AMDGPU: Fix tests using old number for constant address space 2018-09-10 02:54:25 +00:00
ARM [CGP] Limit distance between overflow math and cmp 2019-03-11 13:19:46 +00:00
Mips CodeGenPrep: preserve inbounds attribute when sinking GEPs. 2019-03-12 15:22:23 +00:00
NVPTX
X86 [CodeGenPrepare] limit formation of overflow intrinsics (PR41129) 2019-03-21 13:57:07 +00:00
2008-11-24-RAUW-Self.ll
basic.ll Add a 'dynamic' parameter to the objectsize intrinsic 2019-01-30 20:34:35 +00:00
bitreverse-hang.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
builtin-condition.ll
crash-on-large-allocas.ll Add a 'dynamic' parameter to the objectsize intrinsic 2019-01-30 20:34:35 +00:00
dom-tree.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
gep-unmerging.ll
invariant.group.ll Implement strip.invariant.group 2018-07-02 04:49:30 +00:00
nonintegral.ll
section-samplepgo.ll [SampleFDO] handle ProfileSampleAccurate when initializing function entry count 2018-12-13 21:51:42 +00:00
section.ll
sink-shift-and-trunc.ll [CodeGenPrepare] Preserve debug locs in OptimizeExtractBits 2018-09-15 04:08:52 +00:00
skip-merging-case-block.ll
split-indirect-loop.ll
statepoint-relocate.ll
widenable-condition.ll Lower widenable_conditions in CGP 2019-01-31 18:45:46 +00:00