[all-commits] [llvm/llvm-project] a310cb: [X86] Add getAVX512Node helper. NFC.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Nov 13 06:00:18 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a310cbae02248023b11eefc8d1663661ac1f7721
      https://github.com/llvm/llvm-project/commit/a310cbae02248023b11eefc8d1663661ac1f7721
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-11-13 (Sat, 13 Nov 2021)

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

  Log Message:
  -----------
  [X86] Add getAVX512Node helper. NFC.

For AVX512 targets without VLX, we have to widen 128/256-bit vectors to 512-bits to use some specific AVX512 instructions (or some other instructions with predicates etc.).

I've pulled out the widening code from LowerFunnelShift into the helper function, so we can convert some other widening patterns in the future.




More information about the All-commits mailing list