forked from OSchip/llvm-project
8e807bf3fa
I was reminded today that this patch got reverted in r301885. I can no longer reproduce the failure that caused the revert locally (...almost one year later), and the patch applied pretty cleanly, so I guess we'll see if the bots still get angry about it. The original breakage was InstSimplify complaining (in "assertion failed" form) about getting passed some crazy IR when running `ninja check-sanitizer`. I'm unable to find traces of what, exactly, said crazy IR was. I suppose we'll find out pretty soon if that's still the case. :) Original commit: Author: gbiv Date: Mon May 1 18:12:08 2017 New Revision: 301880 URL: http://llvm.org/viewvc/llvm-project?rev=301880&view=rev Log: [InstSimplify] Handle selects of GEPs with 0 offset In particular (since it wouldn't fit nicely in the summary): (select (icmp eq V 0) P (getelementptr P V)) -> (getelementptr P V) Differential Revision: https://reviews.llvm.org/D31435 llvm-svn: 330667 |
||
---|---|---|
.. | ||
2010-12-20-Boolean.ll | ||
2011-01-14-Thread.ll | ||
2011-02-01-Vector.ll | ||
2011-09-05-InsertExtractValue.ll | ||
2011-10-27-BinOpCrash.ll | ||
2011-11-23-MaskedBitsCrash.ll | ||
2013-04-19-ConstantFoldingCrash.ll | ||
AndOrXor.ll | ||
add-mask.ll | ||
addsub.ll | ||
and-icmps-same-ops.ll | ||
and-or-icmp-zero.ll | ||
assume.ll | ||
bitcast-vector-fold.ll | ||
bitreverse-fold.ll | ||
bitreverse.ll | ||
bswap.ll | ||
call-callconv.ll | ||
call.ll | ||
cast-unsigned-icmp-cmp-0.ll | ||
cast.ll | ||
compare.ll | ||
dead-code-removal.ll | ||
div.ll | ||
exact-nsw-nuw.ll | ||
extract-element.ll | ||
fast-math.ll | ||
fdiv.ll | ||
floating-point-arithmetic.ll | ||
floating-point-compare.ll | ||
fold-builtin-fma.ll | ||
fold-intrinsics.ll | ||
fp-nan.ll | ||
fp-undef.ll | ||
gep.ll | ||
icmp-bool-constant.ll | ||
icmp-constant.ll | ||
icmp-ranges.ll | ||
implies.ll | ||
insertelement.ll | ||
load-relative-32.ll | ||
load-relative.ll | ||
load.ll | ||
log-exp-intrinsic.ll | ||
logic-of-fcmps.ll | ||
maxmin.ll | ||
mul.ll | ||
negate.ll | ||
noalias-ptr.ll | ||
or-icmps-same-ops.ll | ||
or.ll | ||
past-the-end.ll | ||
phi.ll | ||
pr28725.ll | ||
pr33957.ll | ||
ptr_diff.ll | ||
reassociate.ll | ||
rem.ll | ||
require-dominator.ll | ||
returned.ll | ||
select.ll | ||
shift-128-kb.ll | ||
shift-knownbits.ll | ||
shift.ll | ||
shr-nop.ll | ||
shufflevector.ll | ||
signed-div-rem.ll | ||
simplify-nested-bitcast.ll | ||
undef.ll | ||
vec-cmp.ll | ||
vector_gep.ll | ||
vector_ptr_bitcast.ll |