[all-commits] [llvm/llvm-project] 5d9297: [llvm-opt] Bug fix within combining FP vectors

Nashe Mncube via All-commits all-commits at lists.llvm.org
Tue Mar 23 05:14:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d929794a87602cfd873381e11cc99149196bb49
      https://github.com/llvm/llvm-project/commit/5d929794a87602cfd873381e11cc99149196bb49
  Author: Nashe Mncube <nashe.mncube at arm.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    A llvm/test/Transforms/InstCombine/AArch64/sve-const-fp-splat.ll

  Log Message:
  -----------
  [llvm-opt] Bug fix within combining FP vectors

A bug was found within InstCombineCasts where a function call
is only implemented to work with FixedVectors. This caused a
crash when a ScalableVector was passed to this function.
This commit introduces a regression test which recreates the
failure and a bug fix.

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




More information about the All-commits mailing list