[PATCH] D45660: [RISCV] Fix assert message operator
Mandeep Singh Grang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 16 11:59:33 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL330148: [RISCV] Fix assert message operator (authored by mgrang, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D45660?vs=142535&id=142671#toc
Repository:
rL LLVM
https://reviews.llvm.org/D45660
Files:
llvm/trunk/lib/Target/RISCV/RISCVISelLowering.cpp
Index: llvm/trunk/lib/Target/RISCV/RISCVISelLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/RISCV/RISCVISelLowering.cpp
+++ llvm/trunk/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -658,7 +658,7 @@
// Handle passing f64 on RV32D with a soft float ABI.
if (XLen == 32 && ValVT == MVT::f64) {
- assert(!ArgFlags.isSplit() && PendingLocs.empty() ||
+ assert(!ArgFlags.isSplit() && PendingLocs.empty() &&
"Can't lower f64 if it is split");
// Depending on available argument GPRS, f64 may be passed in a pair of
// GPRs, split between a GPR and the stack, or passed completely on the
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45660.142671.patch
Type: text/x-patch
Size: 671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180416/4a2c3af4/attachment.bin>
More information about the llvm-commits
mailing list