[all-commits] [llvm/llvm-project] 702fd3: [SVE] Fix VLS FMA matching for CodeGenOpt::Aggress...
Cameron McInally via All-commits
all-commits at lists.llvm.org
Mon Nov 1 10:44:35 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 702fd3d323aa88303381ef4244083c1aed84bfc3
https://github.com/llvm/llvm-project/commit/702fd3d323aa88303381ef4244083c1aed84bfc3
Author: Cameron McInally <cmcinally at nvidia.com>
Date: 2021-11-01 (Mon, 01 Nov 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
A llvm/test/CodeGen/AArch64/sve-fixed-length-fp-fma.ll
Log Message:
-----------
[SVE] Fix VLS FMA matching for CodeGenOpt::Aggressive.
For NEON, FMA matching is done in the MachineCombiner, and not the
DAGCombiner. That causes problems with VLS lowering, since the
vectors are fixed width at the DAGCombiner, but are scalable in
the MachineCombiner. This patch corrects it by matching FMAs for
VLS vectors in the DAGCombiner.
Reviewed By: paulwalker-arm
Differential Revision: https://reviews.llvm.org/D112557
More information about the All-commits
mailing list