forked from OSchip/llvm-project
c29520c5b3
ConstantFolding crashes when trying to InstSimplify the following load: @a = private unnamed_addr constant %mst { i8* inttoptr (i64 -1 to i8*), i8* inttoptr (i64 -1 to i8*) }, align 8 %x = load <2 x i8*>* bitcast (%mst* @a to <2 x i8*>*), align 8 This patch fix this by adding support to this type of folding: %x = load <2 x i8*>* bitcast (%mst* @a to <2 x i8*>*), align 8 ==> gets folded to: %x = <2 x i8*> <i8* inttoptr (i64 -1 to i8*), i8* inttoptr (i64 -1 to i8*)> llvm-svn: 220380 |
||
---|---|---|
.. | ||
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 | ||
apint-or.ll | ||
assume.ll | ||
call-callconv.ll | ||
call.ll | ||
compare.ll | ||
dead-code-removal.ll | ||
exact-nsw-nuw.ll | ||
fast-math.ll | ||
fdiv.ll | ||
floating-point-arithmetic.ll | ||
fold-builtin-fma.ll | ||
gep.ll | ||
maxmin.ll | ||
past-the-end.ll | ||
phi.ll | ||
ptr_diff.ll | ||
reassociate.ll | ||
rem.ll | ||
shr-nop.ll | ||
undef.ll | ||
vector_gep.ll | ||
vector_ptr_bitcast.ll |