forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SimplifyCFG] Fold switch over ucmp/scmp to icmp and br (llvm#105636)
If we switch over ucmp/scmp and have two switch cases going to the same destination, we can convert into icmp+br. Fixes llvm#105632.
- Loading branch information
Showing
2 changed files
with
486 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.