[PATCH] D68231: [SLC] Allow llvm.pow(x,2.0) -> x*x etc even if no pow() lib func

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 15:21:05 PDT 2019


evandro added inline comments.


================
Comment at: test/Transforms/InstCombine/pow-1.ll:120
 ; MSVC-NEXT:   [[POW:%.*]] = call <2 x double> @llvm.pow.v2f64(<2 x double> <double 4.000000e+00, double 4.000000e+00>, <2 x double> [[X:%.*]])
-; MSVC-NEXT:   ret <2 x double> [[POW]]
 ;
----------------
I don't see a good reason why this check was removed.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68231/new/

https://reviews.llvm.org/D68231





More information about the llvm-commits mailing list