SimplifySetCC could shrink a load without checking for
profitability or legality of such shink with a target.
Added checks to prevent shrinking of aligned scalar loads
in AMDGPU below dword as scalar engine does not support it.
Paths
| Differential D53846
Check shouldReduceLoadWidth from SimplifySetCC ClosedPublic Authored by rampitec on Oct 29 2018, 3:51 PM.
Details Summary SimplifySetCC could shrink a load without checking for Added checks to prevent shrinking of aligned scalar loads
Diff Detail Event TimelineHerald added subscribers: tpr, nhaehnle, wdng, jvesely. · View Herald TranscriptOct 29 2018, 3:51 PM
This revision is now accepted and ready to land.Oct 31 2018, 11:40 AM Closed by commit rL345778: Check shouldReduceLoadWidth from SimplifySetCC (authored by rampitec). · Explain WhyOct 31 2018, 2:27 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 171610 lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
test/CodeGen/AMDGPU/setcc-limit-load-shrink.ll
|
What about the load from uniform global that uses a scalar load?