| commit | 4d19d2651db1ae869c5719fca5a6804f2abada34 | [log] [tgz] |
|---|---|---|
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Tue Sep 07 22:38:45 2010 +0000 |
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Tue Sep 07 22:38:45 2010 +0000 |
| tree | 833664a5dd178040329d46305c9b371dbad7c870 | |
| parent | 3f4c09c1c3c5a48c7ca4db68e0a47459096bc190 [diff] |
Don't add <imp-def> operands during register rewriting. LiveIntervals already adds <imp-def> operands for super-registers when a subreg def defines the whole register. Thus, it is not necessary to do it again when rewriting. In fact, the super-register imp-defs caused miscompilations because the late scheduler couldn't see that the super-register was read. We still add super-reg <imp-use,kill> operands when rewriting virtuals to physicals. llvm-svn: 113299