[all-commits] [llvm/llvm-project] 7322d3: [ValueTracking] Fix computeKnownFPClass with canon...

Piotr Sobczak via All-commits all-commits at lists.llvm.org
Mon May 15 05:51:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7322d35476c34aa92720088554fb627154a99a6e
      https://github.com/llvm/llvm-project/commit/7322d35476c34aa92720088554fb627154a99a6e
  Author: Piotr Sobczak <Piotr.Sobczak at amd.com>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/canonicalize.ll

  Log Message:
  -----------
  [ValueTracking] Fix computeKnownFPClass with canonicalize

Update code that assumes llvm.canonicalize only handles scalars,
by adding a call to getScalarType().
This is fine, as the intrinsic is trivially vectorizable.

Introduced in D147870, and uncovered by D148065.

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




More information about the All-commits mailing list