diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-07-26 21:40:42 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-07-26 21:40:42 +0000 |
commit | 369a4c775995cb1496d81c52210571d0876de606 (patch) | |
tree | 275bde8821f8cc599a727da4b097c19f3e0471f7 /lib/Transforms/Hello/Hello.cpp | |
parent | b3fb028ebde36fab441a731aebe3a21bc30bda9a (diff) |
Eliminate a batch of uses of sub_ss and sub_sd in the X86 target.
These idempotent sub-register indices don't do anything --- They simply
map XMM registers to themselves. They no longer affect register classes
either since the SubRegClasses field has been removed from Target.td.
This patch replaces XMM->XMM EXTRACT_SUBREG and INSERT_SUBREG patterns
with COPY_TO_REGCLASS patterns which simply become COPY instructions.
The number of IMPLICIT_DEF instructions before register allocation is
reduced, and that is the cause of the test case changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Hello/Hello.cpp')
0 files changed, 0 insertions, 0 deletions