From 60a8db6dc5a4f4d3c309166ff68432aa13e710e1 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Wed, 20 Oct 2021 20:24:11 -0700 Subject: [PATCH] [NFC][msan] Rerun update_test_checks.py for a test --- .../MemorySanitizer/msan_eager.ll | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/llvm/test/Instrumentation/MemorySanitizer/msan_eager.ll b/llvm/test/Instrumentation/MemorySanitizer/msan_eager.ll index 3912b9ad1d90..5a1a120308cb 100644 --- a/llvm/test/Instrumentation/MemorySanitizer/msan_eager.ll +++ b/llvm/test/Instrumentation/MemorySanitizer/msan_eager.ll @@ -36,9 +36,9 @@ define noundef i32 @LoadedRet() nounwind uwtable sanitize_memory { ; CHECK-NEXT: [[_MSLD:%.*]] = load i32, i32* [[TMP3]], align 4 ; CHECK-NEXT: [[TMP6:%.*]] = load i32, i32* [[TMP5]], align 4 ; CHECK-NEXT: [[_MSCMP:%.*]] = icmp ne i32 [[_MSLD]], 0 -; CHECK-NEXT: br i1 [[_MSCMP]], label [[TMP7:%.*]], label [[TMP8:%.*]], !prof !0 +; CHECK-NEXT: br i1 [[_MSCMP]], label [[TMP7:%.*]], label [[TMP8:%.*]], !prof [[PROF0:![0-9]+]] ; CHECK: 7: -; CHECK-NEXT: call void @__msan_warning_with_origin_noreturn(i32 [[TMP6]]) [[ATTR2:#.*]] +; CHECK-NEXT: call void @__msan_warning_with_origin_noreturn(i32 [[TMP6]]) #[[ATTR3:[0-9]+]] ; CHECK-NEXT: unreachable ; CHECK: 8: ; CHECK-NEXT: ret i32 [[O]] @@ -80,7 +80,7 @@ define void @PartialArg(i32 %a) nounwind uwtable sanitize_memory { ; CHECK-NEXT: [[TMP7:%.*]] = inttoptr i64 [[TMP6]] to i32* ; CHECK-NEXT: store i32 [[TMP1]], i32* [[TMP5]], align 4 ; CHECK-NEXT: [[_MSCMP:%.*]] = icmp ne i32 [[TMP1]], 0 -; CHECK-NEXT: br i1 [[_MSCMP]], label [[TMP8:%.*]], label [[TMP9:%.*]], !prof !0 +; CHECK-NEXT: br i1 [[_MSCMP]], label [[TMP8:%.*]], label [[TMP9:%.*]], !prof [[PROF0]] ; CHECK: 8: ; CHECK-NEXT: store i32 [[TMP2]], i32* [[TMP7]], align 4 ; CHECK-NEXT: br label [[TMP9]] @@ -96,8 +96,8 @@ define void @PartialArg(i32 %a) nounwind uwtable sanitize_memory { define void @CallNormal() nounwind uwtable sanitize_memory { ; CHECK-LABEL: @CallNormal( ; CHECK-NEXT: call void @llvm.donothing() -; CHECK-NEXT: [[R:%.*]] = call i32 @NormalRet() [[ATTR0:#.*]] -; CHECK-NEXT: call void @NormalArg(i32 [[R]]) [[ATTR0]] +; CHECK-NEXT: [[R:%.*]] = call i32 @NormalRet() #[[ATTR0:[0-9]+]] +; CHECK-NEXT: call void @NormalArg(i32 [[R]]) #[[ATTR0]] ; CHECK-NEXT: ret void ; %r = call i32 @NormalRet() nounwind uwtable sanitize_memory @@ -118,12 +118,12 @@ define void @CallWithLoaded() nounwind uwtable sanitize_memory { ; CHECK-NEXT: [[_MSLD:%.*]] = load i32, i32* [[TMP3]], align 4 ; CHECK-NEXT: [[TMP6:%.*]] = load i32, i32* [[TMP5]], align 4 ; CHECK-NEXT: [[_MSCMP:%.*]] = icmp ne i32 [[_MSLD]], 0 -; CHECK-NEXT: br i1 [[_MSCMP]], label [[TMP7:%.*]], label [[TMP8:%.*]], !prof !0 +; CHECK-NEXT: br i1 [[_MSCMP]], label [[TMP7:%.*]], label [[TMP8:%.*]], !prof [[PROF0]] ; CHECK: 7: -; CHECK-NEXT: call void @__msan_warning_with_origin_noreturn(i32 [[TMP6]]) [[ATTR2]] +; CHECK-NEXT: call void @__msan_warning_with_origin_noreturn(i32 [[TMP6]]) #[[ATTR3]] ; CHECK-NEXT: unreachable ; CHECK: 8: -; CHECK-NEXT: call void @NormalArg(i32 [[O]]) [[ATTR0]] +; CHECK-NEXT: call void @NormalArg(i32 [[O]]) #[[ATTR0]] ; CHECK-NEXT: ret void ; %p = inttoptr i64 0 to i32 * @@ -136,12 +136,12 @@ define void @CallPartial() nounwind uwtable sanitize_memory { ; CHECK-LABEL: @CallPartial( ; CHECK-NEXT: call void @llvm.donothing() ; CHECK-NEXT: store i32 0, i32* bitcast ([100 x i64]* @__msan_retval_tls to i32*), align 8 -; CHECK-NEXT: [[R:%.*]] = call i32 @PartialRet() [[ATTR0]] +; CHECK-NEXT: [[R:%.*]] = call i32 @PartialRet() #[[ATTR0]] ; CHECK-NEXT: [[_MSRET:%.*]] = load i32, i32* bitcast ([100 x i64]* @__msan_retval_tls to i32*), align 8 ; CHECK-NEXT: [[TMP1:%.*]] = load i32, i32* @__msan_retval_origin_tls, align 4 ; CHECK-NEXT: store i32 [[_MSRET]], i32* bitcast ([100 x i64]* @__msan_param_tls to i32*), align 8 ; CHECK-NEXT: store i32 [[TMP1]], i32* getelementptr inbounds ([200 x i32], [200 x i32]* @__msan_param_origin_tls, i32 0, i32 0), align 4 -; CHECK-NEXT: call void @PartialArg(i32 [[R]]) [[ATTR0]] +; CHECK-NEXT: call void @PartialArg(i32 [[R]]) #[[ATTR0]] ; CHECK-NEXT: ret void ; %r = call i32 @PartialRet() nounwind uwtable sanitize_memory