diff options
author | Manman Ren <mren@apple.com> | 2012-11-27 18:58:41 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-11-27 18:58:41 +0000 |
commit | f89406ac7872dc59da1b094383600291827e669f (patch) | |
tree | 7f12585680ce28128b25d774e6efba63515d6472 /llvm/unittests | |
parent | f1bc9e74317c471017c62dca1a5695e296b27074 (diff) | |
download | bcm5719-llvm-f89406ac7872dc59da1b094383600291827e669f.tar.gz bcm5719-llvm-f89406ac7872dc59da1b094383600291827e669f.zip |
CSE: allow PerformTrivialCoalescing to check copies across basic block
boundaries.
Given the following case:
BB0
%vreg1<def> = SUBrr %vreg0, %vreg7
%vreg2<def> = COPY %vreg7
BB1
%vreg10<def> = SUBrr %vreg0, %vreg2
We should be able to CSE between SUBrr in BB0 and SUBrr in BB1.
rdar://12462006
llvm-svn: 168717
Diffstat (limited to 'llvm/unittests')
0 files changed, 0 insertions, 0 deletions