[PATCH] D90801: [RISCV] Remove shadow register list passed to AllocateReg when allocating FP registers
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 5 09:50:41 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGce1270fc7e3d: [RISCV] Remove shadow register list passed to AllocateReg when allocating FP… (authored by craig.topper).
Herald added a subscriber: jrtc27.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90801/new/
https://reviews.llvm.org/D90801
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Index: llvm/lib/Target/RISCV/RISCVISelLowering.cpp
===================================================================
--- llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -1669,9 +1669,9 @@
// Allocate to a register if possible, or else a stack slot.
Register Reg;
if (ValVT == MVT::f32 && !UseGPRForF32)
- Reg = State.AllocateReg(ArgFPR32s, ArgFPR64s);
+ Reg = State.AllocateReg(ArgFPR32s);
else if (ValVT == MVT::f64 && !UseGPRForF64)
- Reg = State.AllocateReg(ArgFPR64s, ArgFPR32s);
+ Reg = State.AllocateReg(ArgFPR64s);
else
Reg = State.AllocateReg(ArgGPRs);
unsigned StackOffset =
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90801.303149.patch
Type: text/x-patch
Size: 668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201105/8ef43342/attachment-0001.bin>
More information about the llvm-commits
mailing list