diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-01-23 02:09:06 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-01-23 02:09:06 +0000 |
commit | 365366f9ef2c0a3ded8eadd805983c6f3749bc57 (patch) | |
tree | 4a115101d8aec6d7e74242d2f29339b200933ac4 /llvm/lib/Target/CppBackend/CPPBackend.cpp | |
parent | ff62c35da0583cde299bc90843c7927f0fd507f4 (diff) | |
download | bcm5719-llvm-365366f9ef2c0a3ded8eadd805983c6f3749bc57.tar.gz bcm5719-llvm-365366f9ef2c0a3ded8eadd805983c6f3749bc57.zip |
R600: rework handling of the constants
Remove Cxxx registers, add new special register - "ALU_CONST" and new
operand for each alu src - "sel". ALU_CONST is used to designate that the
new operand contains the value to override src.sel, src.kc_bank, src.chan
for constants in the driver.
Patch by: Vadim Girlin
Vincent Lejeune:
- Use pointers for constants
- Fold CONST_ADDRESS when possible
Tom Stellard:
- Give CONSTANT_BUFFER_0 its own address space
- Use integer types for constant loads
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 173222
Diffstat (limited to 'llvm/lib/Target/CppBackend/CPPBackend.cpp')
0 files changed, 0 insertions, 0 deletions