[llvm] Skip tranformConstExprCastCall for naked function (PR #76496)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 1 01:46:57 PST 2024


================
@@ -199,17 +199,17 @@ attributes #8 = { noreturn nounwind }
 ; CHECK-LABEL: define weak_odr hidden void @__cfi_check_fail
 ; CHECK-SAME: (ptr noundef [[TMP0:%.*]], ptr noundef [[TMP1:%.*]]) #[[ATTR2:[0-9]+]] {
 ; CHECK-NEXT:  entry:
-; CHECK-NEXT:    [[DOTNOT:%.*]] = icmp eq ptr [[TMP0]], null, !nosanitize !13
-; CHECK-NEXT:    br i1 [[DOTNOT]], label [[TRAP:%.*]], label [[CONT:%.*]], !nosanitize !13
+; CHECK-NEXT:    [[DOTNOT:%.*]] = icmp eq ptr [[TMP0]], null, !nosanitize
----------------
nikic wrote:

Rerun update_test_checks.py instead of manually editing the file.

https://github.com/llvm/llvm-project/pull/76496


More information about the llvm-commits mailing list