aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-11-13 05:11:54 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-11-13 05:11:54 +0000
commitfbe9533509abf785fd7019edf2bc1678ccfe6b0b (patch)
treef5490fe7b76a4d8d60584ea7a5bd536757875995 /llvm/lib/CodeGen/MachineInstr.cpp
parent843ec14af48637f9ce6f5ed31d093f6baf8407d3 (diff)
downloadllvm-fbe9533509abf785fd7019edf2bc1678ccfe6b0b.zip
llvm-fbe9533509abf785fd7019edf2bc1678ccfe6b0b.tar.gz
llvm-fbe9533509abf785fd7019edf2bc1678ccfe6b0b.tar.bz2
AMDGPU: Fix multi-use shl/add combine
This was using a custom function that didn't handle the addressing modes properly for private. Use isLegalAddressingMode to avoid duplicating this. Additionally, skip the combine if there is only one use since the standard combine will handle it. llvm-svn: 318013
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions