[llvm] c210167 - [SimplifyCFG] adjust test branchweights; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 12:56:45 PDT 2021


Author: Sanjay Patel
Date: 2021-03-22T15:55:34-04:00
New Revision: c21016715f0ee4a36affdf7150ac135ca98b0eae

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

LOG: [SimplifyCFG] adjust test branchweights; NFC

This will check the boundary conditions of the
revised change proposed in D98898.

Added: 
    

Modified: 
    llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll b/llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
index 657accc9b6c2..1e966c2f4c4a 100644
--- a/llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
+++ b/llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
@@ -1045,10 +1045,10 @@ exit:
 !12 = !{!"these_are_not_the_branch_weights_you_are_looking_for", i32 3, i32 5}
 !13 = !{!"branch_weights", i32 2, i32 3}
 !14 = !{!"branch_weights", i32 4, i32 7}
-!15 = !{!"branch_weights", i32 2000, i32 1}
-!16 = !{!"branch_weights", i32 1, i32 2000}
-!17 = !{!"branch_weights", i32 1999, i32 1}
-!18 = !{!"branch_weights", i32 1, i32 1999}
+!15 = !{!"branch_weights", i32 99, i32 1}
+!16 = !{!"branch_weights", i32 1, i32 99}
+!17 = !{!"branch_weights", i32 98, i32 1}
+!18 = !{!"branch_weights", i32 1, i32 98}
 !19 = !{!"branch_weights", i32 0, i32 0}
 
 ; CHECK: !0 = !{!"branch_weights", i32 5, i32 11}


        


More information about the llvm-commits mailing list