[PATCH] D60348: [COFF, ARM64] Fix ABI implementation of struct returns
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 23 13:08:54 PDT 2019
rnk added inline comments.
================
Comment at: lib/IR/Function.cpp:149
+bool Argument::hasInRegAttr() const {
+ if (!getType()->isPointerTy()) return false;
+ return hasAttribute(Attribute::InReg);
----------------
Why have this check? `inreg` is typically applied to regular integer i32 arguments and vectors.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60348/new/
https://reviews.llvm.org/D60348
More information about the llvm-commits
mailing list