aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-07-18 12:01:12 +0200
committerNikita Popov <npopov@redhat.com>2022-07-18 12:02:46 +0200
commit4fba35f973d2305b19965fd8ebe47bf742a01b8e (patch)
tree6f6e9e5b1dd8339a0a403e5f80e3813c5a5f7c22 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent46d5615742eed35efa19f55c84b43afd4575d522 (diff)
downloadllvm-4fba35f973d2305b19965fd8ebe47bf742a01b8e.zip
llvm-4fba35f973d2305b19965fd8ebe47bf742a01b8e.tar.gz
llvm-4fba35f973d2305b19965fd8ebe47bf742a01b8e.tar.bz2
[InstCombine] Clarify invoke/callbr handling in constexpr call fold (NFCI)
We only need to check the block for the normal/default destination, not for other destinations. Using the value in those would be illegal anyway. The callbr case cannot actually happen here, because callbr is currently limited to inline asm. Retaining it to match the spirit of the original code.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions