diff options
author | Matthias Braun <matze@braunis.de> | 2015-01-09 03:01:31 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2015-01-09 03:01:31 +0000 |
commit | 7e87384592c45532d794ebf252fd5afe506427db (patch) | |
tree | 4d1e1511d4c3be8edb21005d7dcbc8111b446c54 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ea399e59cfc6a93496b6a0aeb7443281d5a1a5e4 (diff) | |
download | bcm5719-llvm-7e87384592c45532d794ebf252fd5afe506427db.tar.gz bcm5719-llvm-7e87384592c45532d794ebf252fd5afe506427db.zip |
RegisterCoalescer: Fix removeCopyByCommutingDef with subreg liveness
The code that eliminated additional coalescable copies in
removeCopyByCommutingDef() used MergeValueNumberInto() which internally
may merge A into B or B into A. In this case A and B had different Def
points, so we have to reset ValNo.Def to the intended one after merging.
llvm-svn: 225503
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions