[all-commits] [llvm/llvm-project] c24fc3: [VectorCombine] Support AND/UREM indices that requ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Sep 13 03:25:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c24fc37e4773c70a868d8a708b0611c0604c7ab3
      https://github.com/llvm/llvm-project/commit/c24fc37e4773c70a868d8a708b0611c0604c7ab3
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-09-13 (Mon, 13 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/load-insert-store.ll

  Log Message:
  -----------
  [VectorCombine] Support AND/UREM indices that require freezing.

38b098be6605 limited scalarization to indices that are known non-poison.
For certain patterns that restrict the range of an index, we can insert
a freeze of the original value, to prevent propagation of poison.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D107580




More information about the All-commits mailing list