[llvm] [NFC] SimplifyCFG: Detect switch replacement earlier in `switchToLookup` (PR #155602)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 28 06:02:17 PDT 2025
================
@@ -6955,31 +6964,25 @@ static bool switchToLookupTable(SwitchInst *SI, IRBuilder<> &Builder,
Results, DL, TTI))
return false;
- // Append the result from this case to the list for each phi.
+ // Append the result and result types from this case to the list for each
----------------
nikic wrote:
```suggestion
// Append the result and result types from this case to the list for each
```
https://github.com/llvm/llvm-project/pull/155602
More information about the llvm-commits
mailing list