diff options
author | Lang Hames <lhames@gmail.com> | 2012-02-25 02:01:00 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2012-02-25 02:01:00 +0000 |
commit | d5862ce31774754cede1eec50535249f1b1e8c88 (patch) | |
tree | 5ed5c022da00caf8adf4b7359cf8be7a10062169 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 01c047e00359e727f52d8576efb98f22454727f1 (diff) | |
download | bcm5719-llvm-d5862ce31774754cede1eec50535249f1b1e8c88.tar.gz bcm5719-llvm-d5862ce31774754cede1eec50535249f1b1e8c88.zip |
Make the peephole optimizer clear kill flags on a vreg if it's about to add new
uses of the vreg, since the old kills may no longer be valid. This was causing
-verify-machineinstrs to complain about uses after kills, and could potentially
have been causing subtle register allocation issues, but I haven't come across a
test case yet.
llvm-svn: 151425
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions