Skip to content

Commit d93cf18

Browse files
committed
Revert "llvm: workaround crashes in llvm loop optimizations"
This reverts commit b4fd57a. llvm/llvm-project#149743
1 parent ba5f63f commit d93cf18

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/codegen/llvm.zig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6399,9 +6399,6 @@ pub const FuncGen = struct {
63996399
// * https://github.com/llvm/llvm-project/blob/56905dab7da50bccfcceaeb496b206ff476127e1/llvm/test/MC/WebAssembly/blockaddress.ll
64006400
if (zcu.comp.getTarget().cpu.arch.isWasm()) break :jmp_table null;
64016401

6402-
// Workaround for https://github.com/ziglang/zig/issues/24383:
6403-
if (self.ng.ownerModule().optimize_mode == .ReleaseSafe) break :jmp_table null;
6404-
64056402
// On a 64-bit target, 1024 pointers in our jump table is about 8K of pointers. This seems just
64066403
// about acceptable - it won't fill L1d cache on most CPUs.
64076404
const max_table_len = 1024;

0 commit comments

Comments
 (0)