[PATCH] D49273: [SLC] Expand the simplification of pow({e, 2}, y) to exp{, 2}(y)

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 14 08:46:05 PDT 2018


evandro added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/pow-sqrt.ll:37-39
+; CHECK-NEXT:    [[SQRT:%.*]] = call fast <2 x double> @llvm.sqrt.v2f64(<2 x double> [[X:%.*]])
+; CHECK-NEXT:    [[RECP:%.*]] = fdiv fast <2 x double> <double 1.000000e+00, double 1.000000e+00>, [[SQRT]]
+; CHECK-NEXT:    ret <2 x double> [[RECP]]
----------------
spatel wrote:
> No need to update this file if this is just a cosmetic diff in the value naming.
> I updated the other files with auto-generated checks. Please make any IR changes in those tests that are necessary to show functional changes from this patch as a preliminary step. Then, update the assertions using the script.
The functionality changes are shown in the tests above.  


https://reviews.llvm.org/D49273





More information about the llvm-commits mailing list