[all-commits] [llvm/llvm-project] ede27d: [SimplifyCFG] Add support for sinking instructions...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sun Jun 16 23:48:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ede27d8d391e3917a5aa25be7903cabde4303a66
https://github.com/llvm/llvm-project/commit/ede27d8d391e3917a5aa25be7903cabde4303a66
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
Log Message:
-----------
[SimplifyCFG] Add support for sinking instructions with multiple uses (#95521)
Sinking currently only supports instructions that have zero or one uses.
Extend this to handle instructions with any number of uses, as long as
all uses are consistent (i.e. the "same" for all sinking candidates).
After #94462 this is basically just a matter of looping over all uses
instead of checking the first one only.
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