[all-commits] [llvm/llvm-project] a41dde: [AMDGPU] Add use check in v_fma combine.
tsymalla-AMD via All-commits
all-commits at lists.llvm.org
Thu Sep 29 03:25:21 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a41dde2c625ea7c9c71c79e5bbe8993023f20fd5
https://github.com/llvm/llvm-project/commit/a41dde2c625ea7c9c71c79e5bbe8993023f20fd5
Author: Thomas Symalla <thomas.symalla at amd.com>
Date: 2022-09-29 (Thu, 29 Sep 2022)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AMDGPU/dagcombine-fma-fmad.ll
Log Message:
-----------
[AMDGPU] Add use check in v_fma combine.
In D132837, an existing v_fma combine was extended to regard nested
fma instructions. Originally, the inner FMA was checked for being used
only once. In its current state, this check is missing, which causes
some regressions.
In this patch, this check was added.
Reviewed By: foad
Differential Revision: https://reviews.llvm.org/D134856
More information about the All-commits
mailing list