This patch implements the actual transformation of selects to branches.
It includes only the base transformation without any sinking.
Depends on D120230
Paths
| Differential D122259
[SelectOpti][2/5] Select-to-branch base transformation ClosedPublic Authored by apostolakis on Mar 22 2022, 1:52 PM.
Details Summary This patch implements the actual transformation of selects to branches. Depends on D120230
Diff Detail
Event Timeline
Comment Actions Perhaps modify the test case to include debug statement for better coverage. Otherwise LGTM. This revision is now accepted and ready to land.Mar 25 2022, 3:21 PM Comment Actions Add debug statement in-between selects in a test case and move such debug insts just after the new phi nodes. Closed by commit rG97c3ef5c8a28: [SelectOpti][2/5] Select-to-branch base transformation (authored by apostolakis, committed by sotiris <sotiris@sotiris-Intel-MacBook-Air.local>). · Explain WhyMay 23 2022, 1:14 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 431466 llvm/lib/CodeGen/SelectOptimize.cpp
llvm/test/CodeGen/X86/select-optimize.ll
|
Can we have a test case to demonstrate that machine sinking is actually enabled with this transformation?