mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 22:07:27 +00:00
59764b94a7
Summary: This patch adds constant folding of insertelement instruction to undef value when index operand is constant and is not less than vector size or is undef. InstCombine does not support this case, but I'm happy to add it there also if this change is accepted. Test Plan: Unittests and regression tests for ConstProp pass. Reviewers: majnemer Reviewed By: majnemer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9287 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235854 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
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-bool-casts.ll | ||
2006-12-01-TruncBoolBug.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 | ||
basictest.ll | ||
bitcast.ll | ||
bswap.ll | ||
calls.ll | ||
constant-expr.ll | ||
div-zero.ll | ||
extractvalue.ll | ||
float-to-ptr-cast.ll | ||
InsertElement.ll | ||
insertvalue.ll | ||
loads.ll | ||
logicaltest.ll | ||
overflow-ops.ll | ||
phi.ll | ||
remtest.ll | ||
shift.ll | ||
trunc_vec.ll |