[all-commits] [llvm/llvm-project] 113131: [SimplifyCFG] Don't merge invoke if this makes imm...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Mar 24 06:31:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 11313108ff778ab6037dcf3d6057de6e1d26fb80
https://github.com/llvm/llvm-project/commit/11313108ff778ab6037dcf3d6057de6e1d26fb80
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad.ll
M llvm/test/Transforms/SimplifyCFG/merge-deopt-bundle-constants.ll
Log Message:
-----------
[SimplifyCFG] Don't merge invoke if this makes immarg non-constant (PR61265)
Don't merge invokes if this replaces constant operands with phis
in a place where this is not legal.
This also disallows converting operand bundles from constant to
non-constant, in line with the restriction we use in other
transforms.
Fixes https://github.com/llvm/llvm-project/issues/61265.
Differential Revision: https://reviews.llvm.org/D146723
More information about the All-commits
mailing list