[PATCH] D110561: [AArch64] Alter arith-cbz-fusion to fuse between pairs register instructions

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 28 09:37:43 PDT 2021


dmgreen added a comment.

This code adds an SDep::Artificial dependency between the instruction and ExitSU:
https://github.com/llvm/llvm-project/blob/20c02807333a47000879e0f673cdf2d6b07148dd/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp#L876

Skipping Artificial edges in the same way we skip Weak edges will cause some of the other fusions to no longer correctly apply, as far as I can see. Like the arithmetic-bcc fusion and some of the X86 fusions.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110561/new/

https://reviews.llvm.org/D110561



More information about the llvm-commits mailing list