R600/SI: Fold immediates when shrinking instructions
authorTom Stellard <thomas.stellard@amd.com>
Fri, 1 Aug 2014 00:32:33 +0000 (00:32 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 1 Aug 2014 00:32:33 +0000 (00:32 +0000)
commit6407e1e63283e56191e52353650b95c505c41365
tree913f9aa333e1aa8970164930e3d99ef049e6cc0e
parent86d12ebdbd33c0d04f4ecd74003a51abb55d488f
R600/SI: Fold immediates when shrinking instructions

This will prevent us from using extra MOV instructions once we prefer
selecting 64-bit instructions.

llvm-svn: 214464
llvm/lib/Target/R600/SIInstrInfo.cpp
llvm/lib/Target/R600/SIInstrInfo.h
llvm/lib/Target/R600/SIShrinkInstructions.cpp
llvm/test/CodeGen/R600/vop-shrink.ll