| commit | 222e9c11f7c9bfba5a5a442d2f54d74fda96f78a | [log] [tgz] |
|---|---|---|
| author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Wed Oct 31 21:24:30 2018 +0000 |
| committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Wed Oct 31 21:24:30 2018 +0000 |
| tree | e3b5efba9f3ced2ae67f8fc9a104a64cde34fa39 | |
| parent | 03da6e6a623019916f3fd03b31cb19e6969db21f [diff] |
Check shouldReduceLoadWidth from SimplifySetCC 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. Differential Revision: https://reviews.llvm.org/D53846 llvm-svn: 345778