R600/SI: Commute instructions to enable more folding opportunities
authorTom Stellard <thomas.stellard@amd.com>
Wed, 7 Jan 2015 22:44:19 +0000 (22:44 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 7 Jan 2015 22:44:19 +0000 (22:44 +0000)
commita36b682c1748100427c8c193a053750fbba6d2a8
treed0d0a6b1019ffc85833f65896d5afdd7ff7a545a
parent727176d00ece26597636d52cc77c8836e0a43cf9
R600/SI: Commute instructions to enable more folding opportunities

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225410 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIFoldOperands.cpp
lib/Target/R600/SIInstrInfo.cpp
test/CodeGen/R600/mulhu.ll
test/CodeGen/R600/sdiv.ll
test/CodeGen/R600/use-sgpr-multiple-times.ll