R600/SI: Add pattern for bitcasting fp immediates to integers
authorTom Stellard <thomas.stellard@amd.com>
Tue, 13 Jan 2015 22:59:41 +0000 (22:59 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 13 Jan 2015 22:59:41 +0000 (22:59 +0000)
commitd90e5063ca85ecd282389e8be07ae07f2c320f7c
treeb0fab849fe8efef0269dcd40901be15b38f449b2
parenta28a2519500782b409354add013686956aecd651
R600/SI: Add pattern for bitcasting fp immediates to integers

The backend now assumes that all immediates are integers.  This allows
us to simplify immediate handling code, becasue we no longer need to
handle fp and integer immediates differently.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225844 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUMCInstLower.cpp
lib/Target/R600/SIFoldOperands.cpp
lib/Target/R600/SIISelLowering.cpp
lib/Target/R600/SIInstrInfo.cpp
lib/Target/R600/SIInstrInfo.td
lib/Target/R600/SIInstructions.td
lib/Target/R600/SILowerControlFlow.cpp
lib/Target/R600/SIShrinkInstructions.cpp