diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-07-31 12:58:55 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-07-31 12:58:55 +0000 |
commit | e82f2947fd45e972614c80c99187df3588a200cc (patch) | |
tree | 5d57a8aa9b81774aae346f702ff0cd37c23f39f9 /clang-tools-extra/test/clang-tidy/misc-inefficient-algorithm.cpp | |
parent | adf1fcc2a516f1d890b7cc5b71704ea26c239b4f (diff) | |
download | bcm5719-llvm-e82f2947fd45e972614c80c99187df3588a200cc.tar.gz bcm5719-llvm-e82f2947fd45e972614c80c99187df3588a200cc.zip |
[regalloc] Make RegMask clobbers prevent merging vreg's into PhysRegs when hoisting def's upwards.
Summary:
This prevents vreg260 and D7 from being merged in:
%vreg260<def> = LDC1 ...
JAL <ga:@sin>, <regmask ... list not containing D7 ...>
%D7<def> = COPY %vreg260; ...
Doing so is not valid because the JAL clobbers the D7.
This fixes the almabench regression in the LLVM 3.7.0 release branch.
Reviewers: MatzeB
Subscribers: MatzeB, qcolombet, hans, llvm-commits
Differential Revision: http://reviews.llvm.org/D11649
llvm-svn: 243745
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/misc-inefficient-algorithm.cpp')
0 files changed, 0 insertions, 0 deletions