[all-commits] [llvm/llvm-project] ba8eb3: [InstCombine] Instruction sinking: fix check for f...
Roman Lebedev via All-commits
all-commits at lists.llvm.org
Thu Jan 20 11:42:43 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ba8eb31bd9542828f6424e15a3014f80f14522c8
https://github.com/llvm/llvm-project/commit/ba8eb31bd9542828f6424e15a3014f80f14522c8
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2022-01-20 (Thu, 20 Jan 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/sink-into-resume-block.ll
Log Message:
-----------
[InstCombine] Instruction sinking: fix check for function terminating block
Checking for specific function terminating opcodes
means we don't handle other non-hardcoded ones :)
This should probably be generalized to something
similar to the `IsBlockFollowedByDeoptOrUnreachable()`.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D117810
More information about the All-commits
mailing list