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)
commit635fb9fb5959c8550b3932451187b5f9e8c8ad80
treef68592c5030d19c3a0fbf4e7a0c10390766eedbb
parente5fc4208eba3a3ca3489d6bdbdcfff9c45b1e5ab
R600/SI: Fold immediates when shrinking instructions

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214464 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp
lib/Target/R600/SIInstrInfo.h
lib/Target/R600/SIShrinkInstructions.cpp
test/CodeGen/R600/vop-shrink.ll