mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-28 07:05:11 +00:00
961ef79d43
Summary: Widening load in GVN is too early because it will block other optimizations like PRE, LICM. https://llvm.org/bugs/show_bug.cgi?id=29110 The SPECCPU2006 benchmark impact of this patch: Reference: o2_nopatch (1): o2_patched Benchmark Base:Reference (1) ------------------------------------------------------- spec/2006/fp/C++/444.namd 25.2 -0.08% spec/2006/fp/C++/447.dealII 45.92 +1.05% spec/2006/fp/C++/450.soplex 41.7 -0.26% spec/2006/fp/C++/453.povray 35.65 +1.68% spec/2006/fp/C/433.milc 23.79 +0.42% spec/2006/fp/C/470.lbm 41.88 -1.12% spec/2006/fp/C/482.sphinx3 47.94 +1.67% spec/2006/int/C++/471.omnetpp 22.46 -0.36% spec/2006/int/C++/473.astar 21.19 +0.24% spec/2006/int/C++/483.xalancbmk 36.09 -0.11% spec/2006/int/C/400.perlbench 33.28 +1.35% spec/2006/int/C/401.bzip2 22.76 -0.04% spec/2006/int/C/403.gcc 32.36 +0.12% spec/2006/int/C/429.mcf 41.04 -0.41% spec/2006/int/C/445.gobmk 26.94 +0.04% spec/2006/int/C/456.hmmer 24.5 -0.20% spec/2006/int/C/458.sjeng 28 -0.46% spec/2006/int/C/462.libquantum 55.25 +0.27% spec/2006/int/C/464.h264ref 45.87 +0.72% geometric mean +0.23% For most benchmarks, it's a wash, but we do see stable improvements on some benchmarks, e.g. 447,453,482,400. Reviewers: davidxl, hfinkel, dberlin, sanjoy, reames Subscribers: gberry, junbuml Differential Revision: https://reviews.llvm.org/D24096 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281074 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
PRE | ||
2007-07-25-DominatedLoop.ll | ||
2007-07-25-InfiniteLoop.ll | ||
2007-07-25-Loop.ll | ||
2007-07-25-NestedLoop.ll | ||
2007-07-25-SinglePredecessor.ll | ||
2007-07-26-InterlockingLoops.ll | ||
2007-07-26-NonRedundant.ll | ||
2007-07-26-PhiErasure.ll | ||
2007-07-30-PredIDom.ll | ||
2007-07-31-NoDomInherit.ll | ||
2007-07-31-RedundantPhi.ll | ||
2008-02-12-UndefLoad.ll | ||
2008-02-13-NewPHI.ll | ||
2008-07-02-Unreachable.ll | ||
2008-12-09-SelfRemove.ll | ||
2008-12-12-RLE-Crash.ll | ||
2008-12-14-rle-reanalyze.ll | ||
2008-12-15-CacheVisited.ll | ||
2009-01-21-SortInvalidation.ll | ||
2009-01-22-SortInvalidation.ll | ||
2009-03-10-PREOnVoid.ll | ||
2009-07-13-MemDepSortFail.ll | ||
2009-11-12-MemDepMallocBitCast.ll | ||
2010-03-31-RedundantPHIs.ll | ||
2010-05-08-OneBit.ll | ||
2010-11-13-Simplify.ll | ||
2011-04-27-phioperands.ll | ||
2011-07-07-MatchIntrinsicExtract.ll | ||
2011-09-07-TypeIdFor.ll | ||
2012-05-22-PreCrash.ll | ||
2016-08-30-MaskedScatterGather.ll | ||
assume-equal.ll | ||
basic-undef-test.ll | ||
basic.ll | ||
big-endian.ll | ||
bitcast-of-call.ll | ||
br-identical.ll | ||
calloc-load-removal.ll | ||
calls-nonlocal.ll | ||
calls-readonly.ll | ||
commute.ll | ||
cond_br2.ll | ||
cond_br.ll | ||
condprop.ll | ||
crash-no-aa.ll | ||
crash.ll | ||
edge.ll | ||
fence.ll | ||
flags.ll | ||
fold-const-expr.ll | ||
fpmath.ll | ||
funclet.ll | ||
invariant.group.ll | ||
invariant.start.ll | ||
lifetime-simple.ll | ||
load-constant-mem.ll | ||
load-from-unreachable-predecessor.ll | ||
malloc-load-removal.ll | ||
MemdepMiscompile.ll | ||
no_speculative_loads_with_asan.ll | ||
noalias.ll | ||
non-local-offset.ll | ||
nonescaping-malloc.ll | ||
null-aliases-nothing.ll | ||
phi-translate-partial-alias.ll | ||
pr10820.ll | ||
pr12979.ll | ||
pr14166.ll | ||
pr17732.ll | ||
pr17852.ll | ||
pr24397.ll | ||
pr24426.ll | ||
pr25440.ll | ||
pr28562.ll | ||
pr28626.ll | ||
pre-compare.ll | ||
pre-new-inst.ll | ||
range.ll | ||
readattrs.ll | ||
rle-must-alias.ll | ||
rle-no-phi-translate.ll | ||
rle-nonlocal.ll | ||
tbaa.ll | ||
unreachable_block_infinite_loop.ll | ||
volatile-nonvolatile.ll |