[all-commits] [llvm/llvm-project] 0a6c8c: [clang][Interp][NFC] Add a helper function for loc...
Timm Bäder via All-commits
all-commits at lists.llvm.org
Wed Jan 25 08:02:26 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0a6c8c1b2570e3fc9c652989afed5de1aee0c0be
https://github.com/llvm/llvm-project/commit/0a6c8c1b2570e3fc9c652989afed5de1aee0c0be
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-01-25 (Wed, 25 Jan 2023)
Changed paths:
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvalEmitter.h
Log Message:
-----------
[clang][Interp][NFC] Add a helper function for local variables
... in EvalEmitter.
Commit: 8b70d97c39174e1547447e8d33b228384987a152
https://github.com/llvm/llvm-project/commit/8b70d97c39174e1547447e8d33b228384987a152
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-01-25 (Wed, 25 Jan 2023)
Changed paths:
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
Log Message:
-----------
[clang][Interp][NFC] Use InitThisField in initializers
This creates fewer instructions, makes the bytecode easier to read and
InitThisField also cares about checkingPotentialConstantExpression()
cases.
Commit: cb703434cbdc71beb02a7b555083f3e160a13363
https://github.com/llvm/llvm-project/commit/cb703434cbdc71beb02a7b555083f3e160a13363
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-01-25 (Wed, 25 Jan 2023)
Changed paths:
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/arrays.cpp
M clang/test/AST/Interp/literals.cpp
M clang/test/AST/Interp/records.cpp
M clang/test/AST/Interp/shifts.cpp
Log Message:
-----------
[clang][Interp] Add back Run() call
We need to run the functions we compiled immediately after to check if
they can ever be a constant expression.
Differential Revision: https://reviews.llvm.org/D140724
Compare: https://github.com/llvm/llvm-project/compare/5de6b94f856f...cb703434cbdc
More information about the All-commits
mailing list