duk 3da5e82e31
[NVPTX] Fix NVPTXLowerUnreachable::isLoweredToTrap logic (#109730)
Previously, this pass would not generate traps if `NoTrapAfterNoreturn`
was set and would generate traps even if the instruction directly before
the `UnreachableInst` was `llvm.trap()`.

Fix both of these problems and add some tests.
2024-09-24 18:44:59 -07:00
..
2024-09-05 07:37:09 -07:00
2024-09-24 17:50:09 +01:00