[all-commits] [llvm/llvm-project] e270ec: [X86] X86InstrInfo.cpp - Remove dead code for memo...

Shengchen Kan via All-commits all-commits at lists.llvm.org
Thu Feb 1 19:14:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e270ec47cda26a8f0a3cdd195aa60992f109df8a
      https://github.com/llvm/llvm-project/commit/e270ec47cda26a8f0a3cdd195aa60992f109df8a
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86InstrInfo.h

  Log Message:
  -----------
  [X86] X86InstrInfo.cpp - Remove dead code for memory folding, NFCI

`commuteInstruction(MI, false, OpNum, CommuteOpIdx2)` should never create
any new instruction, so we don't need to check and erase it.




More information about the All-commits mailing list