[PATCH] D130776: [IRBuilder] CreateIntrinsic with implicit mangling

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 09:40:02 PDT 2022


nhaehnle added a comment.

I like it. It seems to me that handling varargs wouldn't be a huge effort so maybe best to already take care of it? Basically, check whether the table has at least two entries (i.e. there are arguments) and the last one is a VarArg kind. If so, truncate the ArgTys to the number of argument table entries before doing the match.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130776



More information about the llvm-commits mailing list