[PATCH] D156221: [RISCV] Support overloaded version ntlh intrinsic function

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 1 17:48:09 PDT 2023


craig.topper added a comment.

I think another option could be to do this in SemaChecking.cpp where we implement __builtin_riscv_ntl_load and __builtin_riscv_ntl_store. We already do custom type checking there. We could detect the missing argument and give it a default.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156221



More information about the cfe-commits mailing list