[PATCH] D112675: [Instcombine] Add patterns to generate fneg(fabs(x)) instead of fcmp/sub/selects (part 1)
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 27 16:34:42 PDT 2021
arsenm added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/fneg-fabs.ll:28
;
%cmp = fcmp ult double %x, 0.000000e+00
%negX = fsub double 0.000000e+00, %x
----------------
Missing some cases where the compared value is -0?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112675/new/
https://reviews.llvm.org/D112675
More information about the llvm-commits
mailing list