[all-commits] [llvm/llvm-project] 1395e5: [X86][CodeGen] Set mayLoad = 1 for LZCNT/POPCNT/TZ...

Shengchen Kan via All-commits all-commits at lists.llvm.org
Wed Jan 31 22:13:50 PST 2024


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

  Changed paths:
    M llvm/lib/Target/X86/X86InstrMisc.td

  Log Message:
  -----------
  [X86][CodeGen] Set mayLoad = 1 for LZCNT/POPCNT/TZCNTrm_(EVEX|NF)

Promoted and NF LZCNT/POPCNT/TZCNT were supported in #79954.
B/c null_frag is used in the patterns for these variants, tablgen can
not infer mayLoad = 1 for them.

This can be tested by MCA tests, which will be added after
-mcpu=<cpu_with_apx> is supported.




More information about the All-commits mailing list