[all-commits] [llvm/llvm-project] 8b47e2: [X86] combineVectorShiftImm - fold (shl (add X, X)...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Aug 14 09:42:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b47e29fa08e6234d67243e301ffe12f69a2d3af
      https://github.com/llvm/llvm-project/commit/8b47e29fa08e6234d67243e301ffe12f69a2d3af
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-08-14 (Sun, 14 Aug 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/pmul.ll
    M llvm/test/CodeGen/X86/udiv_fix_sat.ll

  Log Message:
  -----------
  [X86] combineVectorShiftImm - fold (shl (add X, X), C) -> (shl X, (C + 1))

Noticed while investigating the regressions in D106675




More information about the All-commits mailing list