Tom Stellard
37ce97cebc
R600/SI: Choose the correct MOV instruction for copying immediates
...
The instruction selector will now try to infer the destination register
so it can decided whether to use V_MOV_B32 or S_MOV_B32 when copying
immediates.
llvm-svn: 188426
2013-08-14 23:24:24 +00:00
Tom Stellard
eab7c786d4
R600/SI: Add more special cases for opcodes to ensureSRegLimit()
...
Also factor out the register class lookup to its own function.
llvm-svn: 187830
2013-08-06 23:08:18 +00:00
Bill Wendling
aa15a56463
Don't cache the instruction and register info from the TargetMachine, because
...
the internals of TargetMachine could change.
No functionality change intended.
llvm-svn: 183561
2013-06-07 20:28:55 +00:00
Christian Konig
0560f719ba
R600/SI: switch back to RegPressure scheduling
...
Signed-off-by: Christian König <christian.koenig@amd.com>
llvm-svn: 178021
2013-03-26 14:04:02 +00:00
Tom Stellard
6f17e7033b
Add R600 backend
...
A new backend supporting AMD GPUs: Radeon HD2XXX - HD7XXX
llvm-svn: 169915
2012-12-11 21:25:42 +00:00