[llvm] 39a3699 - Fix typo in test

Serge Pavlov via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 22:45:11 PDT 2021


Author: Serge Pavlov
Date: 2021-07-16T12:43:57+07:00
New Revision: 39a36999f9b4d6eb5bedbce1d6d54156b8cdf6bf

URL: https://github.com/llvm/llvm-project/commit/39a36999f9b4d6eb5bedbce1d6d54156b8cdf6bf
DIFF: https://github.com/llvm/llvm-project/commit/39a36999f9b4d6eb5bedbce1d6d54156b8cdf6bf.diff

LOG: Fix typo in test

Added: 
    

Modified: 
    llvm/test/Transforms/InstSimplify/fdiv-strictfp.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstSimplify/fdiv-strictfp.ll b/llvm/test/Transforms/InstSimplify/fdiv-strictfp.ll
index 802d30dd6b2e9..e833d1889e2fc 100644
--- a/llvm/test/Transforms/InstSimplify/fdiv-strictfp.ll
+++ b/llvm/test/Transforms/InstSimplify/fdiv-strictfp.ll
@@ -22,9 +22,9 @@ define float @fdiv_constant_fold_strict() #0 {
 
 define float @frem_constant_fold() #0 {
 ; CHECK-LABEL: @frem_constant_fold(
-; CHECK-NEXT:    ret float 1.500000e+00
+; CHECK-NEXT:    ret float 1.000000e+00
 ;
-  %f = call float @llvm.experimental.constrained.fdiv.f32(float 3.0, float 2.0, metadata !"round.tonearest", metadata !"fpexcept.ignore") #0
+  %f = call float @llvm.experimental.constrained.frem.f32(float 3.0, float 2.0, metadata !"round.tonearest", metadata !"fpexcept.ignore") #0
   ret float %f
 }
 


        


More information about the llvm-commits mailing list