[PATCH] D125285: [BuildLibCalls] infer inreg param attrs from NumRegisterParameters

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 20:44:19 PDT 2022


efriedma added a comment.

Do you really want to mark all arguments?  The equivalent code in X86TargetLowering::markLibCallAttributes only marks int/pointer arguments.  (I guess in the kernel, all arguments to relevant library functions are integers or pointers, but in userspace, you're likely to run into other stuff like floats.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125285



More information about the llvm-commits mailing list