aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-31 03:54:44 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-31 03:54:44 +0000
commitae044c06bf530c0aaf5038c7e69b202e350a8fbd (patch)
treebc0c26bce8ee407733aee1e23bbc61d5ac81814c /clang/lib/CodeGen/CodeGenModule.h
parentb5c6a3e50a0375fe0493ec801c74abdedcebb5d9 (diff)
downloadllvm-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