[PATCH] [mips] Move F128 argument handling into MipsCCState as we did for returns. NFC.
NAKAMURA Takumi
geek4civic at gmail.com
Sat Nov 1 22:06:15 PDT 2014
Excuse me, I have reverted it in r221081.
================
Comment at: lib/Target/Mips/MipsISelLowering.cpp:116
@@ +115,3 @@
+ Function::const_arg_iterator FuncArg = MF.getFunction()->arg_begin();
+ std::advance(FuncArg, Ins[i].OrigArgIndex);
+
----------------
FuncArg might not be paired corresponding to Ins.
Consider, CodeGen's sret arg in Ins.
Does it satisfy assert(Ins[i].OrigArgIndex < MF.getFunction()->arg_size()) in CodeGen/Mips/return-vector.ll?
http://reviews.llvm.org/D5969
More information about the llvm-commits
mailing list