[all-commits] [llvm/llvm-project] c4f5fd: [X86] combineConcatVectorOps - add handling for X8...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jan 20 05:00:04 PST 2022


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vector-fshr-128.ll
    M llvm/test/CodeGen/X86/vector-fshr-rot-128.ll

  Log Message:
  -----------
  [X86] combineConcatVectorOps - add handling for X86ISD::VSHL/VSRL/VSRA

These can be handled the same as the vector shift by immediate variants that are already handled.


  Commit: 304cfc706ad48a0338990c4d19c9117920ca8adf
      https://github.com/llvm/llvm-project/commit/304cfc706ad48a0338990c4d19c9117920ca8adf
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

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

  Log Message:
  -----------
  [X86] combineConcatVectorOps - remove superfluous Subtarget.hasAVX() check

This function only ever gets called by AVX targets, and we already assert for this at the top of the function


Compare: https://github.com/llvm/llvm-project/compare/847bb26820b1...304cfc706ad4


More information about the All-commits mailing list