[llvm] Imprecise switch case (PR #82795)
Thomas Symalla via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 26 02:58:13 PST 2024
================
@@ -5916,7 +5916,7 @@ static bool initializeUniqueCases(SwitchInst *SI, PHINode *&PHI,
return false;
// Only one value per case is permitted.
- if (Results.size() > 1)
+ if (Results.size() > 3) // How many PHI instructions are hendled
----------------
tsymalla wrote:
Typo: handled
https://github.com/llvm/llvm-project/pull/82795
More information about the llvm-commits
mailing list