LLVM: use !nosanitize for arithmetic safety

This commit is contained in:
Andrew Kelley 2024-08-20 23:01:29 -07:00
parent 26d5c27ba0
commit a740833c42

View File

@ -7758,7 +7758,7 @@ pub const FuncGen = struct {
const fail_block = try fg.wip.block(1, "OverflowFail");
const ok_block = try fg.wip.block(1, "OverflowOk");
_ = try fg.wip.brCond(overflow_bit, fail_block, ok_block);
_ = try fg.wip.brCondNosanitize(overflow_bit, fail_block, ok_block);
fg.wip.cursor = .{ .block = fail_block };
try fg.buildSimplePanic(.integer_overflow);