[PATCH] D134958: [clang][Interp] Support __builtin_clz calls

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 30 06:36:16 PDT 2022


tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane, tahonermann, shafik.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

I was wondering how to best implement builtin function calls, but I don't think actually generating bytecode for them makes much sense.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134958

Files:
  clang/lib/AST/CMakeLists.txt
  clang/lib/AST/Interp/ByteCodeExprGen.cpp
  clang/lib/AST/Interp/Interp.h
  clang/lib/AST/Interp/InterpBuiltin.cpp
  clang/lib/AST/Interp/Opcodes.td
  clang/test/AST/Interp/builtins.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134958.464241.patch
Type: text/x-patch
Size: 6765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220930/9ebb4b65/attachment.bin>


More information about the cfe-commits mailing list