tberghammer added a comment.

I am a bit confused by the correlation between your change and commit message. 
In the commit message you say that 32 byte structs are passed as x8 pointers 
but the implementation of LoadValueFromConsecutiveGPRRegisters seems to read it 
out from the v0-v8 registers for vectors of up to 8 elements independently of 
there size. Also based on that code I have the suspicion that the first branch 
(where byte_size <= 16) is not actually used or necessary and also I don't see 
anything in the ABI documentation indicating otherwise (it would be a pretty 
crazy ABI if they say that if you have 4 double then passed in a single 32 byte 
register while if you have 8 double then passed in 8 different 32 byte 
registers). Can you make sure that branch is necessary (e.g. removing it breaks 
at least 1 test)?



================
Comment at: 
packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py:194
+        exe = os.path.join(os.getcwd(), "a.out")
+        error = lldb.SBError()
+
----------------
(nit): Not needed


https://reviews.llvm.org/D32813



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to