[PATCH] D64354: [AArch64][GlobalISel] Optimize conditional branches followed by unconditional branches

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 09:59:44 PDT 2019


qcolombet added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp:1171
+  //   G_BRCOND %c1, %bb2
+  //   G_BR %bb3
+  // bb2:
----------------
Taking advantage of fall-through sounds like something beneficial for all targets.
Could we turn this into a combiner helper?

(Then you can call this specific helper in here.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64354





More information about the llvm-commits mailing list