DAGCombiner: Check shouldReduceLoadWidth before combining (and (load), x) -> extload
authorTom Stellard <thomas.stellard@amd.com>
Fri, 6 Nov 2015 21:58:37 +0000 (21:58 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 6 Nov 2015 21:58:37 +0000 (21:58 +0000)
commit136bd632b6624b46f541b9bab2bdc3a558c0440b
treeeafca6b6e31fe3f5c0d091fd9d55be6fd1cda5d8
parentb9615b21eac7722afdfb9de5e1434a0255f6746b
DAGCombiner: Check shouldReduceLoadWidth before combining (and (load), x) -> extload

Reviewers: resistor, arsenm

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D13805

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252349 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/AMDGPU/kernel-args.ll
test/CodeGen/AMDGPU/no-shrink-extloads.ll
test/CodeGen/AMDGPU/setcc-opt.ll