Skip to content
Commit e0c53134 authored by Evan Cheng's avatar Evan Cheng
Browse files

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.

llvm-svn: 82968
parent 5b0f2a2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment