[PATCH] D51435: [SLC] Support expanding pow(x, n+0.5) to x * x * ... * sqrt(x)

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 30 08:41:00 PDT 2018


evandro added inline comments.


================
Comment at: test/Transforms/InstCombine/pow-4.ll:137
+; pow(x, -16.5)
+define double @test_simplify_neg_16_5(double %x) {
+; CHECK-LABEL: @test_simplify_neg_16_5(
----------------
spatel wrote:
> It would be nice to get a bit more coverage from these tests by varying the exponent and data types (the transform should work with vectors too?).
Good point.


https://reviews.llvm.org/D51435





More information about the llvm-commits mailing list