[all-commits] [llvm/llvm-project] ead294: [NFC][SimplifyCFG] Add test from https://github.co...
Roman Lebedev via All-commits
all-commits at lists.llvm.org
Fri Mar 25 06:12:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ead294b74c4ba378f9eaf21f5f34bb42d93458ea
https://github.com/llvm/llvm-project/commit/ead294b74c4ba378f9eaf21f5f34bb42d93458ea
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2022-03-25 (Fri, 25 Mar 2022)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest.ll
Log Message:
-----------
[NFC][SimplifyCFG] Add test from https://github.com/llvm/llvm-project/issues/53861
Commit: f6b60b3b79606612e9df6b3ab8d4367ca673fedc
https://github.com/llvm/llvm-project/commit/f6b60b3b79606612e9df6b3ab8d4367ca673fedc
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2022-03-25 (Fri, 25 Mar 2022)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest.ll
Log Message:
-----------
[SimplifyCFG] `FoldBranchToCommonDest()`: allow branch-on-select
This whole check is bogus, it's some kind of a profitability check.
For now, simply extend it to not only allow branch-on-binary-ops,
but also on poison-safe logic ops.
Refs. https://github.com/llvm/llvm-project/issues/53861
Refs. https://github.com/llvm/llvm-project/issues/54553
Compare: https://github.com/llvm/llvm-project/compare/43a969debdd8...f6b60b3b7960
More information about the All-commits
mailing list