https://bugs.llvm.org/show_bug.cgi?id=49599
Roman Lebedev <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |---
Status|RESOLVED |REOPENED
--- Comment #5 from Roman Lebedev <[email protected]> ---
(In reply to Dave Green from comment #4)
> -mllvm -trap-unreachable will add a trap.
>
> Some targets (MachO, Webassembly, PS4) will do this by default.
Hm, that doesn't pessimize the IR at all: https://godbolt.org/z/q49rq6
Only the assembly: https://godbolt.org/z/sceK9T
Why isn't this the default then?
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs