[all-commits] [llvm/llvm-project] 4fb3fd: [InstCombine] Fix const folding of switches with d...
Danila Malyutin via All-commits
all-commits at lists.llvm.org
Tue May 31 05:14:22 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4fb3fd7d82067a6d5ade618db54b6e9b1158204b
https://github.com/llvm/llvm-project/commit/4fb3fd7d82067a6d5ade618db54b6e9b1158204b
Author: Danila Malyutin <dmalyutin at azul.com>
Date: 2022-05-31 (Tue, 31 May 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
M llvm/test/Transforms/InstCombine/simple_phi_condition.ll
Log Message:
-----------
[InstCombine] Fix const folding of switches with default case
In case phi was in the default block it could lead to multi-edge.
Fixes #55721.
Differential Revision: https://reviews.llvm.org/D126650
More information about the All-commits
mailing list