[all-commits] [llvm/llvm-project] 1c040a: [InstCombine] commonShiftTransforms - add support ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Oct 9 08:05:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c040a3e5615e54022cf9786b0f5c440ae3d3205
      https://github.com/llvm/llvm-project/commit/1c040a3e5615e54022cf9786b0f5c440ae3d3205
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-09 (Fri, 09 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/test/Transforms/InstCombine/shift.ll

  Log Message:
  -----------
  [InstCombine] commonShiftTransforms - add support for pow2 nonuniform constant vectors in srem fold

Note: we already fold srem to undef if any denominator vector element is undef.




More information about the All-commits mailing list