aboutsummaryrefslogtreecommitdiff
path: root/clang/test/AST/ByteCode/builtin-functions.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-12-03 12:54:26 +0100
committerGitHub <noreply@github.com>2024-12-03 12:54:26 +0100
commitb2df0074134add80ba3a483a479601b00a9f9fc7 (patch)
tree7fd28f61952f5089b67931f6263fbf49d183a118 /clang/test/AST/ByteCode/builtin-functions.cpp
parentaec9ecbcca2a3337a7d52130ab8f61a2ff151429 (diff)
downloadllvm-b2df0074134add80ba3a483a479601b00a9f9fc7.zip
llvm-b2df0074134add80ba3a483a479601b00a9f9fc7.tar.gz
llvm-b2df0074134add80ba3a483a479601b00a9f9fc7.tar.bz2
[FastISel] Support unreachable with NoTrapAfterNoReturn (#118296)
Currently FastISel triggers a fallback if there is an unreachable terminator and the TrapUnreachable option is enabled (the ISD::TRAP selection does not actually work). Add handling for NoTrapAfterNoReturn, in which case we don't actually need to emit a trap. The test is just there to make sure there is no FastISel fallback (which is why I'm not testing the case without noreturn). We have other tests that check the actual unreachable codegen variations.
Diffstat (limited to 'clang/test/AST/ByteCode/builtin-functions.cpp')
0 files changed, 0 insertions, 0 deletions