================ @@ -266,7 +268,10 @@ define i1 @test10_struct_noinbounds_i16(i16 %x) { define i1 @test10_struct_arr(i32 %x) { ; CHECK-LABEL: @test10_struct_arr( -; CHECK-NEXT: [[R:%.*]] = icmp ne i32 [[X:%.*]], 1 +; CHECK-NEXT: [[P_SPLIT:%.*]] = getelementptr inbounds [4 x %Foo], ptr @GStructArr, i32 0, i32 [[X:%.*]] +; CHECK-NEXT: [[P:%.*]] = getelementptr inbounds nuw i8, ptr [[P_SPLIT]], i32 8 +; CHECK-NEXT: [[Q:%.*]] = load i32, ptr [[P]], align 4 +; CHECK-NEXT: [[R:%.*]] = icmp eq i32 [[Q]], 9 ---------------- nikic wrote:
Regression. https://github.com/llvm/llvm-project/pull/151333 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits