Skip to content

Commit 38814fa

Browse files
committedAug 27, 2016
AMDGPU/R600: Enable Load combine
Fix and improve tests Differential Revision: https://reviews.llvm.org/D23899 llvm-svn: 279925
1 parent 6943aa3 commit 38814fa

File tree

7 files changed

+1952
-135
lines changed

7 files changed

+1952
-135
lines changed
 

‎llvm/lib/Target/AMDGPU/R600ISelLowering.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ R600TargetLowering::R600TargetLowering(const TargetMachine &TM,
198198
setTargetDAGCombine(ISD::EXTRACT_VECTOR_ELT);
199199
setTargetDAGCombine(ISD::SELECT_CC);
200200
setTargetDAGCombine(ISD::INSERT_VECTOR_ELT);
201+
setTargetDAGCombine(ISD::LOAD);
201202
}
202203

203204
const R600Subtarget *R600TargetLowering::getSubtarget() const {

‎llvm/test/CodeGen/AMDGPU/load-constant-i16.ll

+183-26
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)