llvm-project/llvm/test/Transforms/ConstProp
Erik Schnetter 5e93e28d8b Enable constant propagation for more math functions
Constant propagation for single precision math functions (such as
tanf) is already working, but was not enabled. This patch enables
these for many single-precision functions, and adds respective test
cases.

Newly handled functions: acosf asinf atanf atan2f ceilf coshf expf
exp2f fabsf floorf fmodf logf log10f powf sinhf tanf tanhf

llvm-svn: 246194
2015-08-27 19:56:57 +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 [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
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 [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
InsertElement.ll Constfold insertelement to undef when index is out-of-bounds 2015-04-27 09:30:49 +00:00
basictest.ll
bitcast.ll
bswap.ll
calls.ll Enable constant propagation for more math functions 2015-08-27 19:56:57 +00:00
constant-expr.ll
convert-from-fp16.ll [ConstantFolding] Fix wrong folding of intrinsic 'convert.from.fp16'. 2015-05-14 18:01:48 +00:00
div-zero.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
extractvalue.ll
float-to-ptr-cast.ll
insertvalue.ll
loads.ll Fix assert when inlining a constantexpr addrspacecast 2015-07-27 18:31:03 +00:00
logicaltest.ll
overflow-ops.ll
phi.ll
remtest.ll
shift.ll ConstantFold: Fix big shift constant folding 2015-03-13 16:39:46 +00:00
trunc_vec.ll