[PATCH] D18572: [AArch64] Relax branches by fusing compare with conditional branch when we can infer that source register is zero/non-zero.

Tim Northover via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 11:00:50 PDT 2016


t.p.northover added a comment.

I think I agree with Geoff here. This pass may be the most convenient place to add the peep-hole optimization, but even the IR doesn't look particularly obscure (well, apart from being massively and horribly undefined now that I look at it: the conditions are only related at all because of a quirk in the register allocator!).


http://reviews.llvm.org/D18572





More information about the llvm-commits mailing list