search for: test_fold_aco

Displaying 1 result from an estimated 1 matches for "test_fold_aco".

Did you mean: test_fold_acos
2017 Mar 20
2
-ffast-math optimizations impacted by symbol renaming in header files
...example cases: // File: test_folding.c // Constant fold will occur with: // clang -O2 -S -emit-llvm test_folding.c // Constant fold will not occur with: // clang -O2 -S -emit-llvm -ffast-math test_folding.c #include <math.h> double test_fold_exp() { return exp(0.0); } double test_fold_acos() { return acos(1.0); } ---------------------------------------------- // File: test_vectorize.c // Vectorization will occur with: // clang -O2 -S -emit-llvm -fno-math-errno test_vectorize.c // Vectorization will not occur with: // clang -O2 -S -emit-llvm -fno-math-errno -ffast-math...