aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2013-02-14 02:51:03 +0000
committerCameron Zwarich <zwarich@apple.com>2013-02-14 02:51:03 +0000
commit1195e819bbddcf1412094e9b48a089165d13a1a1 (patch)
treefcaaf9e393b61b6513fe5e6fcf3b139585178354 /clang/lib/CodeGen/ModuleBuilder.cpp
parent3c818086f2af74f096469886928d58c0e11cdc5f (diff)
downloadllvm-1195e819bbddcf1412094e9b48a089165d13a1a1.zip
llvm-1195e819bbddcf1412094e9b48a089165d13a1a1.tar.gz
llvm-1195e819bbddcf1412094e9b48a089165d13a1a1.tar.bz2
Fix some issues with rematerialization in RegisterCoalescer when the destination
of the copy is a subregister def. The current code assumes that it can do a full def of the destination register, but it is not checking that the def operand is read-undef. It also doesn't clear the subregister index of the destination in the new instruction to reflect the full subregister def. These issues were found running 'make check' with my next commit that enables rematerialization in more cases. llvm-svn: 175122
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions