[all-commits] [llvm/llvm-project] f1a423: [X86] printConstant - fix asm comment issue when b...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed May 31 04:28:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1a42300aafa437691f77b4433329d5aa14e80b3
      https://github.com/llvm/llvm-project/commit/f1a42300aafa437691f77b4433329d5aa14e80b3
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/test/CodeGen/X86/vector-shuffle-combining-avx2.ll

  Log Message:
  -----------
  [X86] printConstant - fix asm comment issue when broadcasting from a wider constant pool entry

In cases where a broadcast op is loading from a constant entry wider than the broadcast element, we were incorrectly printing the entire entry and not just the lower bits referenced by the broadcast.




More information about the All-commits mailing list