Go to file
Stanislav Mekhanoshin a45584bebe Fold fneg and fabs like multiplications
Given no NaNs and no signed zeroes it folds:

(fmul X, (select (fcmp X > 0.0), -1.0, 1.0)) -> (fneg (fabs X))
(fmul X, (select (fcmp X > 0.0), 1.0, -1.0)) -> (fabs X)

Differential Revision: https://reviews.llvm.org/D34579

llvm-svn: 306592
2017-06-28 20:25:50 +00:00
clang [ASTReader] Treat multiple defns of ObjC protocols the same as interfaces. 2017-06-28 18:36:27 +00:00
clang-tools-extra [clangd] Add "Go to Declaration" functionality 2017-06-28 16:12:10 +00:00
compiler-rt [PGO] Reduce IO in profile dumping with merging 2017-06-28 16:46:06 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx Updated notest on 2974 2017-06-28 18:19:34 +00:00
libcxxabi Add some catch(...) blocks to the tests so that if they fail, we get a good error message. No functional change. 2017-06-22 00:49:03 +00:00
libunwind [libunwind] Add _LIBUNWIND_DISABLE_VISIBILITY_ANNOTATIONS 2017-06-27 18:37:06 +00:00
lld Move copy function from Symbol to SymbolBody. 2017-06-28 19:43:02 +00:00
lldb [DWARFCallFrameInfo] Add Type enum to differentiate eh/debug_frame sections 2017-06-28 09:09:19 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm Fold fneg and fabs like multiplications 2017-06-28 20:25:50 +00:00
openmp Make test/parallel/omp_nested.c not use so many threads 2017-06-27 03:04:25 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Heap allocation for new arrays. 2017-06-28 13:02:43 +00:00