[PATCH] D43765: [InstSimplify] loosen FMF for sqrt(X) * sqrt(X) --> X

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 12 12:07:39 PDT 2018


efriedma added inline comments.


================
Comment at: test/Transforms/InstSimplify/fast-math.ll:219
   ret double %mul
 }
 
----------------
Maybe add a test that we don't do this without the relevant fast-math flags?


https://reviews.llvm.org/D43765





More information about the llvm-commits mailing list