[all-commits] [llvm/llvm-project] de9a87: [X86] Split up getShuffleComment into printShuffle...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Feb 5 08:24:08 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de9a87301aefda9538eab7fcd563cc6ceec44e0a
      https://github.com/llvm/llvm-project/commit/de9a87301aefda9538eab7fcd563cc6ceec44e0a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86MCInstLower.cpp

  Log Message:
  -----------
  [X86] Split up getShuffleComment into printShuffleMask and printDstRegisterName helpers. NFC.

This will allow us to easily use printDstRegisterName for other mask predicate destination registers, and printout shuffle masks from other instruction types.


  Commit: f4714204d0527269e037d85ed998a54678e3895f
      https://github.com/llvm/llvm-project/commit/f4714204d0527269e037d85ed998a54678e3895f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
    M llvm/lib/Target/X86/X86MCInstLower.cpp

  Log Message:
  -----------
  [X86] printExtend - add support for mask predicated instructions

Remove handling from EmitAnyX86InstComments and handle all VPMOVSX/VPMOVZX comments in addConstantComments now that we can generically handle the destination + mask register and shuffle mask comment


  Commit: 47dcf5d5dc54e62c59fedbef1e8ec3a02c77cb83
      https://github.com/llvm/llvm-project/commit/47dcf5d5dc54e62c59fedbef1e8ec3a02c77cb83
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/test/CodeGen/X86/avx512-vec-cmp.ll

  Log Message:
  -----------
  [X86] printBroadcast - add support for mask predicated instructions

Handle masked predicated load/broadcasts in addConstantComments now that we can generically handle the destination + mask register

This will more significantly help improve 'fixup constant' comments from #73509


  Commit: f958ad3b89c38be84dcf263ef9f9508a5cd3a6e3
      https://github.com/llvm/llvm-project/commit/f958ad3b89c38be84dcf263ef9f9508a5cd3a6e3
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/test/CodeGen/X86/apx/kmov-postrapseudos.ll

  Log Message:
  -----------
  [X86] printZeroUpperMove - add support for mask predicated instructions

Handle masked predicated movss/movsd in addConstantComments now that we can generically handle the destination + mask register

This will more significantly help improve 'fixup constant' comments from #73509


Compare: https://github.com/llvm/llvm-project/compare/58f3a77efb63...f958ad3b89c3


More information about the All-commits mailing list