hanchenye-llvm-project/llvm/test/Transforms/ConstProp
David Majnemer 522a91181a Don't remove side effecting instructions due to ConstantFoldInstruction
Just because we can constant fold the result of an instruction does not
imply that we can delete the instruction.  It may have side effects.

This fixes PR28655.

llvm-svn: 276389
2016-07-22 04:54:44 +00:00
..
2002-05-03-DivideByZeroException.ll
2002-05-03-NotOperator.ll
2002-09-03-SetCC-Bools.ll
2003-05-12-DivideError.ll
2005-01-28-SetCCGEP.ll
2006-11-30-vector-cast.ll
2006-12-01-TruncBoolBug.ll
2006-12-01-bool-casts.ll
2007-02-05-BitCast.ll
2007-02-23-sdiv.ll
2007-11-23-cttz.ll
2008-07-07-VectorCompare.ll
2009-06-20-constexpr-zero-lhs.ll
2009-09-01-GEP-Crash.ll
InsertElement.ll
basictest.ll
bitcast.ll
bswap.ll
calls.ll Don't remove side effecting instructions due to ConstantFoldInstruction 2016-07-22 04:54:44 +00:00
constant-expr.ll
convert-from-fp16.ll
div-zero.ll
extractvalue.ll
float-to-ptr-cast.ll
insertvalue.ll
loads.ll
logicaltest.ll
overflow-ops.ll
phi.ll
remtest.ll
shift.ll
trunc_vec.ll