diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-31 03:54:44 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-31 03:54:44 +0000 |
commit | ae044c06bf530c0aaf5038c7e69b202e350a8fbd (patch) | |
tree | bc0c26bce8ee407733aee1e23bbc61d5ac81814c /clang/lib/CodeGen/CodeGenModule.h | |
parent | b5c6a3e50a0375fe0493ec801c74abdedcebb5d9 (diff) | |
download | llvm-ae044c06bf530c0aaf5038c7e69b202e350a8fbd.zip llvm-ae044c06bf530c0aaf5038c7e69b202e350a8fbd.tar.gz llvm-ae044c06bf530c0aaf5038c7e69b202e350a8fbd.tar.bz2 |
Pick a conservative register class when creating a small live range for remat.
The rematerialized instruction may require a more constrained register class
than the register being spilled. In the test case, the spilled register has been
inflated to the DPR register class, but we are rematerializing a load of the
ssub_0 sub-register which only exists for DPR_VFP2 registers.
The register class is reinflated after spilling, so the conservative choice is
only temporary.
llvm-svn: 128610
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions