R600/SI: Partially move operand legalization to post-isel hook.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 26 Sep 2014 17:54:59 +0000 (17:54 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 26 Sep 2014 17:54:59 +0000 (17:54 +0000)
commitaed12d4bad3919415479a575efa03b1097681861
treeba6a37b2361fd175738f6b42e131cf822d88ba4c
parent29202835d8a1664aa48eecb2cb1f02ce00fdaa32
R600/SI: Partially move operand legalization to post-isel hook.

Disable the SGPR usage restriction parts of the DAG legalizeOperands.
It now should only be doing immediate folding until it can be replaced
later. The real legalization work is now done by the other
SIInstrInfo::legalizeOperands

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218531 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIISelLowering.cpp
lib/Target/R600/SIISelLowering.h
lib/Target/R600/SIInstrFormats.td
lib/Target/R600/SIInstrInfo.cpp
test/CodeGen/R600/fneg.f64.ll
test/CodeGen/R600/fneg.ll
test/CodeGen/R600/rotl.ll
test/CodeGen/R600/seto.ll
test/CodeGen/R600/setuo.ll