[PATCH] D49754: Add -m(no-)spe, and e500 CPU definitions and support to clang

Kei Thomsen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 29 03:05:58 PST 2019


kthomsen added a comment.

The desired function for this va_arg is not in lib/Target/PowerPC/*.cpp, it is in tools/clang/lib/CodeGen/TargetInfo.cpp , a little bit unexpected to me.
PPC32_SVR4_ABIInfo::EmitVAArg() is doing the va_arg handling. For testing, I have added a hasSPE = true and treat the parameter like SoftFloat. It looks good! Now I need to find out, where to get "hasSPE" from.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D49754/new/

https://reviews.llvm.org/D49754





More information about the cfe-commits mailing list