[all-commits] [llvm/llvm-project] 6dbd45: AMDGPU: Remove pointless libcall optimization of f...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Aug 9 16:38:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6dbd458128dd24d35c0fe9121bde62f0c4da92f8
https://github.com/llvm/llvm-project/commit/6dbd458128dd24d35c0fe9121bde62f0c4da92f8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-08-09 (Wed, 09 Aug 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
M llvm/test/CodeGen/AMDGPU/simplify-libcalls.ll
Log Message:
-----------
AMDGPU: Remove pointless libcall optimization of fma/mad
After the library is linked and trivially inlined, the generic fma and
fmuladd intrinsics already handle these cases, and with precise flag
handling. This was requiring all fast math flags when we really just
need nsz for the fma(a, b, 0) case.
https://reviews.llvm.org/D156677
More information about the All-commits
mailing list