diff options
author | Justin Holewinski <justin.holewinski@gmail.com> | 2011-06-20 15:56:20 +0000 |
---|---|---|
committer | Justin Holewinski <justin.holewinski@gmail.com> | 2011-06-20 15:56:20 +0000 |
commit | c7b073da0fc9b64ab352c0e38cb571c1a3c76b44 (patch) | |
tree | 7973e60b9a1226a8c12224c34f298502d222adf1 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 254f82112d0c73eaf198e629792bc75285e875f7 (diff) | |
download | bcm5719-llvm-c7b073da0fc9b64ab352c0e38cb571c1a3c76b44.tar.gz bcm5719-llvm-c7b073da0fc9b64ab352c0e38cb571c1a3c76b44.zip |
PTX: Add basic register spilling code
The current implementation generates stack loads/stores, which are
really just mov instructions from/to "special" registers. This may
not be the most efficient implementation, compared to an approach where
the stack registers are directly folded into instructions, but this is
easier to implement and I have yet to see a case where ptxas is unable
to see through this kind of register usage and know what is really
going on.
llvm-svn: 133443
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions