diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-09-07 22:38:45 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-09-07 22:38:45 +0000 |
| commit | 4d19d2651db1ae869c5719fca5a6804f2abada34 (patch) | |
| tree | 833664a5dd178040329d46305c9b371dbad7c870 /clang/test/Analysis/inline2.c | |
| parent | 3f4c09c1c3c5a48c7ca4db68e0a47459096bc190 (diff) | |
| download | bcm5719-llvm-4d19d2651db1ae869c5719fca5a6804f2abada34.tar.gz bcm5719-llvm-4d19d2651db1ae869c5719fca5a6804f2abada34.zip | |
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
Diffstat (limited to 'clang/test/Analysis/inline2.c')
0 files changed, 0 insertions, 0 deletions

