[all-commits] [llvm/llvm-project] af32e5: [X86] LowerRotate - manually expand rotate by spla...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jul 22 09:55:17 PDT 2023


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

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

  Log Message:
  -----------
  [X86] LowerRotate - manually expand rotate by splat constant patterns.

Fixes issue identified on #63980 where the undef rotate 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.




More information about the All-commits mailing list