Use a simpler code sequence when the shift amount is known not to be
zero modulo the bit width.
Nothing much uses this until D77152 changes the translation of fshl and
fshr intrinsics.
Paths
| Differential D82540
[TargetLowering] Improve expansion of FSHL/FSHR by non-zero amount ClosedPublic Authored by foad on Jun 25 2020, 3:57 AM.
Details
Summary Use a simpler code sequence when the shift amount is known not to be Nothing much uses this until D77152 changes the translation of fshl and
Diff Detail
Event Timelinefoad added a child revision: D77152: [SelectionDAG] Better legalization for FSHL and FSHR.Jun 25 2020, 4:00 AM Closed by commit rGbabbeafa006f: [TargetLowering] Improve expansion of FSHL/FSHR by non-zero amount (authored by foad). · Explain Why This revision was automatically updated to reflect the committed changes. foad marked an inline comment as done.
Comment Actions I misread something and thought @arsenm had accepted this patch. That's why I committed it.
Revision Contents
Diff 275658 llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
|
!isDivisibleByBitWidth()?