[all-commits] [llvm/llvm-project] d12dff: [X86] Add X86::getConstantFromPool helper function...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jan 18 04:02:09 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d12dffacaa838cbdd30454e49214f40d2ec1cc50
      https://github.com/llvm/llvm-project/commit/d12dffacaa838cbdd30454e49214f40d2ec1cc50
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

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

  Log Message:
  -----------
  [X86] Add X86::getConstantFromPool helper function to replace duplicate implementations.

We had the same helper function in shuffle decode / vector constant code - move this to X86InstrInfo to avoid duplication.




More information about the All-commits mailing list