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)
commitfb77f00be8dd87082b4e0f8baf7a11dcbede5c33
tree0e64b1b1d40057a6b8e56d29764ce58943b449cf
parent703378f15646e01193f2aaa0bbf876d27de4b78d
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.

llvm-svn: 225844
llvm/lib/Target/R600/AMDGPUMCInstLower.cpp
llvm/lib/Target/R600/SIFoldOperands.cpp
llvm/lib/Target/R600/SIISelLowering.cpp
llvm/lib/Target/R600/SIInstrInfo.cpp
llvm/lib/Target/R600/SIInstrInfo.td
llvm/lib/Target/R600/SIInstructions.td
llvm/lib/Target/R600/SILowerControlFlow.cpp
llvm/lib/Target/R600/SIShrinkInstructions.cpp