[all-commits] [llvm/llvm-project] 92bf83: [X86] Add basic test coverage for funnels shifts o...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Jul 23 02:57:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92bf83cf603f5b47d6af76b8820fbb730e5241e1
      https://github.com/llvm/llvm-project/commit/92bf83cf603f5b47d6af76b8820fbb730e5241e1
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-07-23 (Sun, 23 Jul 2023)

  Changed paths:
    A llvm/test/CodeGen/X86/vector-fshl-sub128.ll
    A llvm/test/CodeGen/X86/vector-fshr-sub128.ll

  Log Message:
  -----------
  [X86] Add basic test coverage for funnels shifts of sub-128-bit vector types


  Commit: da0f24873d2e530ddb713549102b76dca98e2387
      https://github.com/llvm/llvm-project/commit/da0f24873d2e530ddb713549102b76dca98e2387
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-07-23 (Sun, 23 Jul 2023)

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

  Log Message:
  -----------
  [X86] LowerFunnelShift - manually expand funnel shifts by splat constant patterns.

Followup to af32e51a43fb4343f - where the undef funnel shift amounts (during widening from v2i32 -> v4i32) were being constant folded to 0 when the shift amounts are created during expansion, losing the splat'd shift amounts.


Compare: https://github.com/llvm/llvm-project/compare/ca3ad82cb50c...da0f24873d2e


More information about the All-commits mailing list