[all-commits] [llvm/llvm-project] 7f3435: [RISCV] Use separate CCValAssign for both parts of...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Oct 17 08:30:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7f3435575404cc811c976410d9b01c7c10fd03e2
https://github.com/llvm/llvm-project/commit/7f3435575404cc811c976410d9b01c7c10fd03e2
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-10-17 (Tue, 17 Oct 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Use separate CCValAssign for both parts of f64 with ilp32. (#69129)
Mark any registers as CustomReg and any stack slot as CustomMem.
This allows us to more directly emit the register or memory access for
the high part. Previously we needed a memory access if the low register
was X17 and we assumed the stack offset was 0. If the low part wasn't
X17, we assumed the high register was the next register after the low
register.
This is another part of supporting FP arguments with GISel.
More information about the All-commits
mailing list