[all-commits] [llvm/llvm-project] 79726e: [VP] Correct lowering of predicated fma and faddmu...

Kevin P. Neal via All-commits all-commits at lists.llvm.org
Wed Apr 17 05:34:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79726ef5d20f3bf6510b67d7dd3378b8a41db768
      https://github.com/llvm/llvm-project/commit/79726ef5d20f3bf6510b67d7dd3378b8a41db768
  Author: Kevin P. Neal <kevin.neal at sas.com>
  Date:   2024-04-17 (Wed, 17 Apr 2024)

  Changed paths:
    M llvm/include/llvm/IR/Intrinsics.h
    M llvm/lib/CodeGen/ExpandVectorPredication.cpp
    M llvm/lib/IR/Function.cpp
    A llvm/test/CodeGen/Generic/expand-vp-fp-intrinsics.ll

  Log Message:
  -----------
  [VP] Correct lowering of predicated fma and faddmul to avoid strictfp. (#85272)

Correct missing cases in a switch that result in @llvm.vp.fma.v4f32
getting lowered to a constrained fma intrinsic. Vector predicated
lowering to contrained intrinsics is not supported currently, and
there's no consensus on the path forward. We certainly shouldn't be
introducing constrained intrinsics into a function that isn't strictfp.

Problem found with D146845.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list