[all-commits] [llvm/llvm-project] 61bb3d: [X86][NFC] Avoid uselss iterations when emitting E...

Shengchen Kan via All-commits all-commits at lists.llvm.org
Sat Jan 6 07:54:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61bb3d499a234f20b74e70a37a68c0c7d47eb5dc
      https://github.com/llvm/llvm-project/commit/61bb3d499a234f20b74e70a37a68c0c7d47eb5dc
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-01-06 (Sat, 06 Jan 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86CompressEVEX.cpp
    M llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp

  Log Message:
  -----------
  [X86][NFC] Avoid uselss iterations when emitting EVEX compression table

BTW, we relax the condition for EVEX compression from
ST.hasAVX512() to ST.hasEGPR() || ST.hasAVX512(). It does not have any
effect now b/c no APX instruction is in the EVEX compression table so
far.

This patch is to extract NFC in #77065 into a separate commit.




More information about the All-commits mailing list