diff options
author | Jun Bum Lim <junbuml@codeaurora.org> | 2016-02-16 20:02:39 +0000 |
---|---|---|
committer | Jun Bum Lim <junbuml@codeaurora.org> | 2016-02-16 20:02:39 +0000 |
commit | b389d9b9af204a5891a0e1c4f077ca8fca231890 (patch) | |
tree | 28c58627d27b50aa041871b02df9ed8558c0be00 /clang | |
parent | ba2a01645b54020f6f852edddd1e40d3a096e093 (diff) | |
download | bcm5719-llvm-b389d9b9af204a5891a0e1c4f077ca8fca231890.tar.gz bcm5719-llvm-b389d9b9af204a5891a0e1c4f077ca8fca231890.zip |
[AArch64] Add pass to remove redundant copy after RA
Summary:
This change will add a pass to remove unnecessary zero copies in target blocks
of cbz/cbnz instructions. E.g., the copy instruction in the code below can be
removed because the cbz jumps to BB1 when x0 is zero :
BB0:
cbz x0, .BB1
BB1:
mov x0, xzr
Jun
Reviewers: gberry, jmolloy, HaoLiu, MatzeB, mcrosier
Subscribers: mcrosier, mssimpso, haicheng, bmakam, llvm-commits, aemerson, rengolin
Differential Revision: http://reviews.llvm.org/D16203
llvm-svn: 261004
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions