[PATCH] D53846: Check shouldReduceLoadWidth from SimplifySetCC
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 29 15:51:55 PDT 2018
rampitec created this revision.
rampitec added a reviewer: arsenm.
Herald added subscribers: tpr, nhaehnle, wdng, jvesely.
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.
https://reviews.llvm.org/D53846
Files:
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
test/CodeGen/AMDGPU/setcc-limit-load-shrink.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53846.171602.patch
Type: text/x-patch
Size: 4559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181029/19f5fa91/attachment.bin>
More information about the llvm-commits
mailing list