[PATCH] D18572: [AArch64] Relax branches by fusing compare with conditional branch when we can infer that source register is zero/non-zero.
Balaram Makam via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 29 13:41:07 PDT 2016
bmakam created this revision.
bmakam added reviewers: t.p.northover, mcrosier, llvm-commits.
Herald added subscribers: mcrosier, rengolin, aemerson.
eg..:
tbnz x8, #63, .LBB0_5
cmp x8, #1
b.lt .LBB0_2
->to:
tbnz x8, #63, .LBB0_5
cbz .LBB0_2
http://reviews.llvm.org/D18572
Files:
lib/Target/AArch64/AArch64BranchRelaxation.cpp
test/CodeGen/AArch64/branch-relax-fuse-cbz.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18572.51975.patch
Type: text/x-patch
Size: 7029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160329/86b707bf/attachment.bin>
More information about the llvm-commits
mailing list