[llvm] b689cc6 - Minor movement of one function with now-correct strictfp attribute to pass

Kevin P. Neal via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 23 09:23:21 PDT 2019


Author: Kevin P. Neal
Date: 2019-10-23T12:23:03-04:00
New Revision: b689cc640f3f13208304b17caffd04ca71960335

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

LOG: Minor movement of one function with now-correct strictfp attribute to pass
against the latest version of D68233.

Added: 
    

Modified: 
    llvm/test/Bitcode/compatibility.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Bitcode/compatibility.ll b/llvm/test/Bitcode/compatibility.ll
index 615e618131f2..617a3fe059da 100644
--- a/llvm/test/Bitcode/compatibility.ll
+++ b/llvm/test/Bitcode/compatibility.ll
@@ -1393,7 +1393,7 @@ exit:
   ; CHECK: select <2 x i1> <i1 true, i1 false>, <2 x i8> <i8 2, i8 3>, <2 x i8> <i8 3, i8 2>
 
   call void @f.nobuiltin() builtin
-  ; CHECK: call void @f.nobuiltin() #43
+  ; CHECK: call void @f.nobuiltin() #44
 
   call fastcc noalias i32* @f.noalias() noinline
   ; CHECK: call fastcc noalias i32* @f.noalias() #12
@@ -1410,13 +1410,6 @@ define void @instructions.call_musttail(i8* inalloca %val) {
   ret void
 }
 
-define void @instructions.strictfp() #44 {
-  call void @f.strictfp() strictfp
-  ; CHECK: call void @f.strictfp() #44
-
-  ret void
-}
-
 define void @instructions.call_notail() {
   notail call void @f1()
   ; CHECK: notail call void @f1()
@@ -1777,6 +1770,13 @@ define i8** @constexpr() {
   ret i8** getelementptr inbounds ({ [4 x i8*], [4 x i8*] }, { [4 x i8*], [4 x i8*] }* null, i32 0, inrange i32 1, i32 2)
 }
 
+define void @instructions.strictfp() strictfp {
+  call void @f.strictfp() strictfp
+  ; CHECK: call void @f.strictfp() #43
+
+  ret void
+}
+
 ; immarg attribute
 declare void @llvm.test.immarg.intrinsic(i32 immarg)
 ; CHECK: declare void @llvm.test.immarg.intrinsic(i32 immarg)
@@ -1833,8 +1833,8 @@ declare void @byval_named_type(%named_type* byval(%named_type))
 ; CHECK: attributes #40 = { inaccessiblemem_or_argmemonly nounwind willreturn }
 ; CHECK: attributes #41 = { writeonly }
 ; CHECK: attributes #42 = { speculatable }
-; CHECK: attributes #43 = { builtin }
-; CHECK: attributes #44 = { strictfp }
+; CHECK: attributes #43 = { strictfp }
+; CHECK: attributes #44 = { builtin }
 
 ;; Metadata
 


        


More information about the llvm-commits mailing list