diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-09-28 05:28:43 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-09-28 05:28:43 +0000 |
commit | 58cb38c09d1b7e0e8c27d56ac94a524552ef436c (patch) | |
tree | da1b9e6b4a8e12e2409e5bf29c19f5d62e836473 /lib/Transforms/Scalar/InstructionCombining.cpp | |
parent | b4cf975e89642255701b2f279b1647caf430947c (diff) | |
download | external_llvm-58cb38c09d1b7e0e8c27d56ac94a524552ef436c.zip external_llvm-58cb38c09d1b7e0e8c27d56ac94a524552ef436c.tar.gz external_llvm-58cb38c09d1b7e0e8c27d56ac94a524552ef436c.tar.bz2 |
Coalescer should not delete extract_subreg, insert_subreg, and subreg_to_reg of
physical registers. This is especially critical for the later two since they
start the live interval of a super-register. e.g.
%DO<def> = INSERT_SUBREG %D0<undef>, %S0<kill>, 1
If this instruction is eliminated, the register scavenger will not be happy as
D0 is not defined previously.
This fixes PR5055.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/InstructionCombining.cpp')
0 files changed, 0 insertions, 0 deletions