[all-commits] [llvm/llvm-project] fc58d7: [Peephole-opt][X86] Enhance peephole opt to see th...

minglotus-6 via All-commits all-commits at lists.llvm.org
Tue May 10 15:57:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc58d7a3261dc168fc177e54722b5ade1bb8508b
      https://github.com/llvm/llvm-project/commit/fc58d7a3261dc168fc177e54722b5ade1bb8508b
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2022-05-10 (Tue, 10 May 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    A llvm/test/CodeGen/X86/peephole-test-after-add.mir

  Log Message:
  -----------
  [Peephole-opt][X86] Enhance peephole opt to see through SUBREG_TO_REG
(following AND) and eliminates redundant TEST instruction.

Differential Revision: https://reviews.llvm.org/D124118




More information about the All-commits mailing list