[all-commits] [llvm/llvm-project] 7cc1f3: [llvm][RISCV] Optimize fabs for fixed vectors (#19...
Brandon Wu via All-commits
all-commits at lists.llvm.org
Sun May 10 08:59:11 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7cc1f32481015e50f29c9caf92524201bbdb0a50
https://github.com/llvm/llvm-project/commit/7cc1f32481015e50f29c9caf92524201bbdb0a50
Author: Brandon Wu <brandon.wu at sifive.com>
Date: 2026-05-10 (Sun, 10 May 2026)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/test/CodeGen/ARM/vfloatintrinsics.ll
M llvm/test/CodeGen/NVPTX/f16x2-instructions.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfabs-sdnode.ll
M llvm/test/CodeGen/Thumb2/mve-fp-negabs.ll
M llvm/test/CodeGen/Thumb2/mve-vabd.ll
Log Message:
-----------
[llvm][RISCV] Optimize fabs for fixed vectors (#194554)
vfabs is not available on zvfhmin or zvfbfmin, it's expected to expand
to integer operations instead of unrolling to scalar operations.
General expandFABS already handles that in most of cases except for
fixed vector types that are not promotable, we need to find a better
heuristic to gate this.
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