[all-commits] [llvm/llvm-project] 2ed158: [X86] Ensure asm comments only print the constant ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Nov 17 06:31:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ed15877e7427801d1699611d0b29f23718b01ab
      https://github.com/llvm/llvm-project/commit/2ed15877e7427801d1699611d0b29f23718b01ab
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/test/CodeGen/X86/insert-into-constant-vector.ll

  Log Message:
  -----------
  [X86] Ensure asm comments only print the constant values for the vector load's register width

We were printing the entire Constant, which if we were loading from a wider constant pool entry meant that we were confusing the asm comment with upper bits that aren't actually part of the load result




More information about the All-commits mailing list