[PATCH] D60583: [AArch64] Implement Vector Funtion ABI name mangling.

Francesco Petrogalli via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 09:22:28 PDT 2019


fpetrogalli marked 4 inline comments as done.
fpetrogalli added inline comments.


================
Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:9686
+
+  if (QT->isFloatingType())
+    return true;
----------------
ABataev wrote:
> I would suggest to checks the size of the type according to the AAVFABI and limit it with the values 1,2,4 and 8 explicitly (just in case, to handle future types)
Just for FP types? Or also for integer types?


================
Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:9701
+static unsigned getAArch64LS(QualType QT, ParamKindTy Kind, ASTContext &C) {
+  if (getAArch64MTV(QT, Kind) && QT.getCanonicalType()->isPointerType()) {
+    QualType PTy = QT->getPointeeType().getCanonicalType();
----------------
ABataev wrote:
> There is a second part of the requirement `reference to some type T for which PBV(T) is true,`
ParamKindTy doesn't support ref modifiers. Shall I add a note as a comment?


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

https://reviews.llvm.org/D60583





More information about the llvm-commits mailing list