[all-commits] [llvm/llvm-project] fb3ca7: [LV] Account IV recipes being uniform in VPTransfo...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Mar 12 05:29:42 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb3ca707612608f54d59f0057dda654a79f30111
      https://github.com/llvm/llvm-project/commit/fb3ca707612608f54d59f0057dda654a79f30111
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/uniform-blend.ll

  Log Message:
  -----------
  [LV] Account IV recipes being uniform in VPTransformState::get().

This patch fixes a crash when trying to get a scalar value using
VPTransformState::get() for uniform induction values or truncated
induction values. IVs and truncated IVs can be uniform and the updated
code accounts for that, fixing the crash.

This should fix
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31981




More information about the All-commits mailing list