[all-commits] [llvm/llvm-project] 4d8528: [SimplifyCFG] Fold switch over ucmp/scmp to icmp a...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Aug 22 07:57:31 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4d85285ff68d11fcb8c6b296799a11074e7ff7d7
https://github.com/llvm/llvm-project/commit/4d85285ff68d11fcb8c6b296799a11074e7ff7d7
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-22 (Thu, 22 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/switch-on-cmp.ll
Log Message:
-----------
[SimplifyCFG] Fold switch over ucmp/scmp to icmp and br (#105636)
If we switch over ucmp/scmp and have two switch cases going to the same
destination, we can convert into icmp+br.
Fixes https://github.com/llvm/llvm-project/issues/105632.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list