[llvm] 7952720 - [Attributor] Remove unused metadata checks from liveness tests

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 06:26:54 PDT 2024


Author: Simon Pilgrim
Date: 2024-06-03T14:26:42+01:00
New Revision: 79527206253797b5ea79e29e1246e217af46b388

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

LOG: [Attributor] Remove unused metadata checks from liveness tests

Noticed while triaging the failures on #93673 - the attributor pass doesn't emit any range metadata in these tests

Added: 
    

Modified: 
    llvm/test/Transforms/Attributor/cb_liveness_disabled.ll
    llvm/test/Transforms/Attributor/cb_liveness_enabled.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/Attributor/cb_liveness_disabled.ll b/llvm/test/Transforms/Attributor/cb_liveness_disabled.ll
index 1f73eea5870de..f8f374ab66141 100644
--- a/llvm/test/Transforms/Attributor/cb_liveness_disabled.ll
+++ b/llvm/test/Transforms/Attributor/cb_liveness_disabled.ll
@@ -189,9 +189,6 @@ define i32 @test_ncheck2(i32 %0) #0 {
 
 attributes #0 = { noinline nounwind sspstrong uwtable}
 
-; TUNIT_: !0 = !{i32 0, i32 101}
-; TUNIT_: !1 = !{i32 100, i32 201}
-;.
 ; TUNIT: attributes #[[ATTR0]] = { mustprogress nofree noinline norecurse nosync nounwind sspstrong willreturn memory(none) uwtable }
 ; TUNIT: attributes #[[ATTR1:[0-9]+]] = { nofree nosync nounwind willreturn memory(none) }
 ;.

diff  --git a/llvm/test/Transforms/Attributor/cb_liveness_enabled.ll b/llvm/test/Transforms/Attributor/cb_liveness_enabled.ll
index 88fe6ddd37461..32c08ee92ddef 100644
--- a/llvm/test/Transforms/Attributor/cb_liveness_enabled.ll
+++ b/llvm/test/Transforms/Attributor/cb_liveness_enabled.ll
@@ -192,9 +192,6 @@ define i32 @test_ncheck2(i32 %0) #0 {
 
 attributes #0 = { noinline nounwind sspstrong uwtable}
 
-; TUNIT_: !0 = !{i32 0, i32 101}
-; TUNIT_: !1 = !{i32 100, i32 201}
-;.
 ; TUNIT: attributes #[[ATTR0]] = { mustprogress nofree noinline norecurse nosync nounwind sspstrong willreturn memory(none) uwtable }
 ; TUNIT: attributes #[[ATTR1:[0-9]+]] = { nofree nosync nounwind willreturn memory(none) }
 ;.


        


More information about the llvm-commits mailing list