[all-commits] [llvm/llvm-project] 588d97: [X86] getTargetVShiftNode - peek through any zext ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Mar 4 09:42:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 588d97e2461964ac5b821b946276c5600e0139a3
      https://github.com/llvm/llvm-project/commit/588d97e2461964ac5b821b946276c5600e0139a3
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vector-shift-ashr-256.ll

  Log Message:
  -----------
  [X86] getTargetVShiftNode - peek through any zext node

If the shift amount has been zero-extended, peek through as this might help us further canonicalize the shift amount.

Fixes regression mentioned in rG147cfcbef1255ba2b4875b76708dab1a685085f5




More information about the All-commits mailing list