[all-commits] [llvm/llvm-project] b6c9dc: [X86][CodeGen] Not emit mr_ND if rr_ND is commutable

Shengchen Kan via All-commits all-commits at lists.llvm.org
Thu Jun 20 06:10:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6c9dcc9f57b870645cb44155dc5993ec551320a
      https://github.com/llvm/llvm-project/commit/b6c9dcc9f57b870645cb44155dc5993ec551320a
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-06-20 (Thu, 20 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrArithmetic.td
    M llvm/test/CodeGen/X86/apx/adc.ll
    M llvm/test/CodeGen/X86/apx/add.ll
    M llvm/test/CodeGen/X86/apx/and.ll
    M llvm/test/CodeGen/X86/apx/or.ll
    M llvm/test/CodeGen/X86/apx/xor.ll

  Log Message:
  -----------
  [X86][CodeGen] Not emit mr_ND if rr_ND is commutable

This gives us more chance to compress instruction in X86CompressEVEX.cpp
b/c mr_ND is not a candidate of instructions to be compressed while
rm_ND is.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list