[all-commits] [llvm/llvm-project] 63b534: [RISCV] Fold vmv.x.s into load from stack (#109774)
Luke Lau via All-commits
all-commits at lists.llvm.org
Wed Sep 25 03:50:13 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 63b534be1765391d102464d26208eef3510fd62d
https://github.com/llvm/llvm-project/commit/63b534be1765391d102464d26208eef3510fd62d
Author: Luke Lau <luke at igalia.com>
Date: 2024-09-25 (Wed, 25 Sep 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
A llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
Log Message:
-----------
[RISCV] Fold vmv.x.s into load from stack (#109774)
If a vector is reloaded from the stack to be used in vmv.x.s, we can
tell foldMemoryOperandImpl to fold it into a scalar load.
If XLEN < SEW then this currently just bails. I couldn't think of a way
to express a vmv.x.s that truncates in LLVM IR.
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