[all-commits] [llvm/llvm-project] 0448d1: [AArch64][GlobalISel] Don't emit a branch for a fa...

AE via All-commits all-commits at lists.llvm.org
Thu Sep 10 15:01:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0448d11a06b451a63a8f60408fec613ad24801ba
      https://github.com/llvm/llvm-project/commit/0448d11a06b451a63a8f60408fec613ad24801ba
  Author: Amara Emerson <amara at apple.com>
  Date:   2020-09-10 (Thu, 10 Sep 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/select-binop.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-jump-table-brjt-constrain.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-returnaddress-liveins.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-xor.mir
    M llvm/test/CodeGen/AArch64/unwind-preserved.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Don't emit a branch for a fallthrough G_BR at -O0.

With optimizations we leave the decision to eliminate fallthrough branches to
bock placement, but at -O0 we should do it in the selector to save code size.

This regressed -O0 with a recent change to a combiner.




More information about the All-commits mailing list