diff --git a/llvm/test/Transforms/GVN/PRE/load-pre-nonlocal.ll b/llvm/test/Transforms/GVN/PRE/load-pre-nonlocal.ll --- a/llvm/test/Transforms/GVN/PRE/load-pre-nonlocal.ll +++ b/llvm/test/Transforms/GVN/PRE/load-pre-nonlocal.ll @@ -56,11 +56,8 @@ ; CHECK-LABEL: define i32 @overaligned_load ; CHECK: if.then: ; CHECK-NOT: %0 = load i64 -; CHECK-NOT: [[LSHR:%[0-9]+]] = lshr i64 %0, 32, !dbg [[LSHR_LOC:![0-9]+]] -; CHECK-NOT: trunc i64 [[LSHR]] to i32 ; CHECK: if.end: ; CHECK: %1 = load i32, i32* -; CHECK-NOT: [[LSHR_LOC]] = !DILocation(line: 101, column: 1, scope: !{{.*}}) define i32 @overaligned_load(i32 %a, i32* nocapture %b) !dbg !13 { entry: diff --git a/llvm/test/Transforms/GVN/big-endian.ll b/llvm/test/Transforms/GVN/big-endian.ll --- a/llvm/test/Transforms/GVN/big-endian.ll +++ b/llvm/test/Transforms/GVN/big-endian.ll @@ -7,9 +7,7 @@ ;; loads reusing a load value. define i64 @test1({ i1, i8 }* %predA, { i1, i8 }* %predB) { ; CHECK-LABEL: @test1 -; CHECK-NOT: [[V1:%.*]] = load i16, i16* %{{.*}} -; CHECK-NOT: [[V2:%.*]] = lshr i16 [[V1]], 8 -; CHECK-NOT: trunc i16 [[V2]] to i1 +; CHECK-NOT: %{{.*}} = load i16, i16* %{{.*}} %valueLoadA.fca.0.gep = getelementptr inbounds { i1, i8 }, { i1, i8 }* %predA, i64 0, i32 0 %valueLoadA.fca.0.load = load i1, i1* %valueLoadA.fca.0.gep, align 8 diff --git a/llvm/test/Transforms/NewGVN/big-endian.ll b/llvm/test/Transforms/NewGVN/big-endian.ll --- a/llvm/test/Transforms/NewGVN/big-endian.ll +++ b/llvm/test/Transforms/NewGVN/big-endian.ll @@ -7,9 +7,7 @@ ;; loads reusing a load value. define i64 @test1({ i1, i8 }* %predA, { i1, i8 }* %predB) { ; CHECK-LABEL: @test1 -; CHECK-NOT: [[V1:%.*]] = load i16, i16* %{{.*}} -; CHECK-NOT: [[V2:%.*]] = lshr i16 [[V1]], 8 -; CHECK-NOT: trunc i16 [[V2]] to i1 +; CHECK-NOT: %{{.*}} = load i16, i16* %{{.*}} %valueLoadA.fca.0.gep = getelementptr inbounds { i1, i8 }, { i1, i8 }* %predA, i64 0, i32 0 %valueLoadA.fca.0.load = load i1, i1* %valueLoadA.fca.0.gep, align 8