Files
clang-p2996/llvm/test/CodeGen/NVPTX
Christian Sigg 5b7a7ec5a2 [NVPTX] Fix code generation for trap-unreachable. (#67478)
https://reviews.llvm.org/D152789 added an `exit` op before each
`unreachable`. This means we never get to the `trap` instruction.

This change limits the insertion of `exit` instructions to the cases
where `unreachable` is not lowered to `trap`. Trap itself is changed to
be emitted as `trap; exit;` to convey to `ptxas` that it exits the CFG.
2023-10-01 07:59:24 +02:00
..
2023-07-11 14:43:35 +01:00
2023-06-28 11:57:13 -07:00