[PATCH] D136017: [clang][Interp] Materializing primitive temporaries

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 15 05:44:21 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.

Utilitze the existing support for temporary declarations to support `MaterializeTemporaryExpr`s for primitive values.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136017

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136017.468012.patch
Type: text/x-patch
Size: 5857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221015/3a91a9e8/attachment-0001.bin>


More information about the cfe-commits mailing list