[llvm] e351e82 - [Test] Remove addrspace1 ptr to not confuse alive2

Max Kazantsev via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 23:26:05 PDT 2022


Author: Max Kazantsev
Date: 2022-08-19T13:25:50+07:00
New Revision: e351e8213bf342a8d78bb7655beca832ce871acd

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

LOG: [Test] Remove addrspace1 ptr to not confuse alive2

addrspace here is not import for the test itself.

Added: 
    

Modified: 
    llvm/test/Transforms/IndVarSimplify/X86/pr57187.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/pr57187.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr57187.ll
index 45e96badd1143..9b587c9824f95 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/pr57187.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/pr57187.ll
@@ -36,7 +36,7 @@ backedge:                                         ; preds = %stuck
 loop:                                             ; preds = %backedge, %entry
   %iv = phi i32 [ %start, %entry ], [ %iv.next, %backedge ]
   %iv.zext = zext i32 %iv to i64
-  %gep = getelementptr inbounds i64, i64 addrspace(1)* undef, i64 %iv.zext
+  %gep = getelementptr inbounds i64, i64* undef, i64 %iv.zext
   %iv.next = add i32 %iv, -1
   %loop.exit.cond = icmp slt i32 %iv.next, 11
   br i1 %loop.exit.cond, label %exit, label %stuck


        


More information about the llvm-commits mailing list