[llvm] 6cb8673 - [Test] Add missing noundef in positive test

Max Kazantsev via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 10 00:33:54 PST 2023


Author: Max Kazantsev
Date: 2023-03-10T15:33:27+07:00
New Revision: 6cb867389cd475f9040aeae785efb7f40cc1bc1e

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

LOG: [Test] Add missing noundef in positive test

Added: 
    

Modified: 
    llvm/test/Transforms/LICM/min_max.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LICM/min_max.ll b/llvm/test/Transforms/LICM/min_max.ll
index 94bb2bac17556..725d086183ded 100644
--- a/llvm/test/Transforms/LICM/min_max.ll
+++ b/llvm/test/Transforms/LICM/min_max.ll
@@ -843,7 +843,7 @@ exit:
 
 ; TODO: turn to %iv <u umax(inv_1, inv_2) and hoist it out of loop.
 ; https://alive2.llvm.org/ce/z/zgyG5N
-define i32 @test_logical_or_ult_inv_pos(i32 %start, i32 %inv_1, i32 %inv_2) {
+define i32 @test_logical_or_ult_inv_pos(i32 %start, i32 %inv_1, i32 noundef %inv_2) {
 ; CHECK-LABEL: @test_logical_or_ult_inv_pos(
 ; CHECK-NEXT:  entry:
 ; CHECK-NEXT:    br label [[LOOP:%.*]]


        


More information about the llvm-commits mailing list