[all-commits] [llvm/llvm-project] 1ccebb: [GlobalISel] Micro-optimize the conditional branch...

Amara Emerson via All-commits all-commits at lists.llvm.org
Fri May 7 00:24:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ccebb18ef9f4110e555209261d73dbec393e364
      https://github.com/llvm/llvm-project/commit/1ccebb18ef9f4110e555209261d73dbec393e364
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp

  Log Message:
  -----------
  [GlobalISel] Micro-optimize the conditional branch optimization.

Convert a check into an assert and pass an MI instead of recomputing in the
apply function.




More information about the All-commits mailing list