[llvm] f55de35 - [InstCombine] Regenerate gep-custom-dl.ll test checks

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 21 06:31:03 PDT 2021


Author: Simon Pilgrim
Date: 2021-07-21T14:29:34+01:00
New Revision: f55de3576dcbdd439618c84b2721e1f8c40abb0f

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

LOG: [InstCombine] Regenerate gep-custom-dl.ll test checks

Added: 
    

Modified: 
    llvm/test/Transforms/InstCombine/gep-custom-dl.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/gep-custom-dl.ll b/llvm/test/Transforms/InstCombine/gep-custom-dl.ll
index cac9030a007d..3de70f3c151c 100644
--- a/llvm/test/Transforms/InstCombine/gep-custom-dl.ll
+++ b/llvm/test/Transforms/InstCombine/gep-custom-dl.ll
@@ -52,7 +52,7 @@ define void @test3(i8 %B) {
 ; This should be turned into a constexpr instead of being an instruction
 define void @test_evaluate_gep_nested_as_ptrs(i32 addrspace(2)* %B) {
 ; CHECK-LABEL: @test_evaluate_gep_nested_as_ptrs(
-; CHECK-NEXT:    store i32 addrspace(2)* [[B:%.*]], i32 addrspace(2)* addrspace(1)* getelementptr inbounds (%as2_ptr_struct, [[AS2_PTR_STRUCT:%.*]] addrspace(1)* @global_as1_as2_ptr, i32 0, i32 0), align 8
+; CHECK-NEXT:    store i32 addrspace(2)* [[B:%.*]], i32 addrspace(2)* addrspace(1)* getelementptr inbounds ([[AS2_PTR_STRUCT:%.*]], [[AS2_PTR_STRUCT]] addrspace(1)* @global_as1_as2_ptr, i32 0, i32 0), align 8
 ; CHECK-NEXT:    ret void
 ;
   %A = getelementptr %as2_ptr_struct, %as2_ptr_struct addrspace(1)* @global_as1_as2_ptr, i32 0, i32 0


        


More information about the llvm-commits mailing list