[PATCH] D95454: [NFC] Show instcombine powi simplifications drop FMF.

Valeriy Dmitriev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 26 09:50:18 PST 2021


vdmitrie created this revision.
vdmitrie added a reviewer: spatel.
vdmitrie requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Update test for upcoming change.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95454

Files:
  llvm/test/Transforms/InstCombine/intrinsics.ll


Index: llvm/test/Transforms/InstCombine/intrinsics.ll
===================================================================
--- llvm/test/Transforms/InstCombine/intrinsics.ll
+++ llvm/test/Transforms/InstCombine/intrinsics.ll
@@ -21,10 +21,10 @@
 declare double @llvm.nearbyint.f64(double %Val) nounwind readonly
 
 define void @powi(double %V, double *%P) {
-  %A = tail call double @llvm.powi.f64(double %V, i32 -1) nounwind
+  %A = tail call fast double @llvm.powi.f64(double %V, i32 -1) nounwind
   store volatile double %A, double* %P
 
-  %D = tail call double @llvm.powi.f64(double %V, i32 2) nounwind
+  %D = tail call fast double @llvm.powi.f64(double %V, i32 2) nounwind
   store volatile double %D, double* %P
   ret void
 ; CHECK-LABEL: @powi(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95454.319330.patch
Type: text/x-patch
Size: 754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210126/1d4a078b/attachment.bin>


More information about the llvm-commits mailing list