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)
commit0599297cb42d6718e0c40f62189bfa6cf8bf9e7b
tree89546f7188554f5ac65059a41a7dd89e9926ad2a
parente6264cf66114b336a18b41dd8096a0b74943d90a
R600/SI: Commute instructions to enable more folding opportunities

llvm-svn: 225410
llvm/lib/Target/R600/SIFoldOperands.cpp
llvm/lib/Target/R600/SIInstrInfo.cpp
llvm/test/CodeGen/R600/mulhu.ll
llvm/test/CodeGen/R600/sdiv.ll
llvm/test/CodeGen/R600/use-sgpr-multiple-times.ll