[PATCH] D122104: [X86][regcall] Support passing / returning structures

LuoYuanke via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 20 18:50:03 PDT 2022


LuoYuanke added inline comments.


================
Comment at: clang/include/clang/CodeGen/CGFunctionInfo.h:744
+  void setMaxVectorWidth(unsigned Width) {
+     MaxVectorWidth = Width ? llvm::countTrailingZeros(Width) + 1 : 0;
+  }
----------------
Use "Log2_32()"?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122104



More information about the cfe-commits mailing list