[PATCH] D134744: [clang][Interp] Implement rem opcode

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 27 08:43:28 PDT 2022


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

Something easier to review I hope :)

Implement an opcode to get the remainder of the divison between LHS and RHS.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134744

Files:
  clang/lib/AST/Interp/ByteCodeExprGen.cpp
  clang/lib/AST/Interp/Integral.h
  clang/lib/AST/Interp/Interp.h
  clang/lib/AST/Interp/Opcodes.td
  clang/test/AST/Interp/literals.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134744.463244.patch
Type: text/x-patch
Size: 4128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220927/1224d269/attachment-0001.bin>


More information about the cfe-commits mailing list