aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorduk <74797529+duk-37@users.noreply.github.com>2024-09-24 21:44:59 -0400
committerGitHub <noreply@github.com>2024-09-24 18:44:59 -0700
commit3da5e82e31712792411945b655929a1680fb476c (patch)
treed166693a58ceae45e1561ec6e145567c7fc03dda /clang/lib/CodeGen/CodeGenModule.h
parent642bfd89f94f90bc9696a81e72333f6eb1ce5f20 (diff)
downloadllvm-3da5e82e31712792411945b655929a1680fb476c.zip
llvm-3da5e82e31712792411945b655929a1680fb476c.tar.gz
llvm-3da5e82e31712792411945b655929a1680fb476c.tar.bz2
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions