[llvm] [SimplifyCFG] Simplify switch with implicit default (PR #95665)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 15 09:38:47 PDT 2024
================
@@ -7104,6 +7104,48 @@ static bool simplifySwitchOfPowersOfTwo(SwitchInst *SI, IRBuilder<> &Builder,
return true;
}
+// Try to fold switch with manually selecting default branch
----------------
nikic wrote:
```suggestion
// Try to fold switch with manually selected default branch.
```
https://github.com/llvm/llvm-project/pull/95665
More information about the llvm-commits
mailing list