[all-commits] [llvm/llvm-project] d791de: Restrict lvalue-to-rvalue conversions in CGExprCon...
Eli Friedman via All-commits
all-commits at lists.llvm.org
Wed Apr 13 12:35:18 PDT 2022
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2022-04-13 (Wed, 13 Apr 2022)
Restrict lvalue-to-rvalue conversions in CGExprConstant.
We were generating wrong code for cxx20-consteval-crash.cpp: instead of
loading a value of a variable, we were using its address as the
Found while adding code to verify the size of constant initializers.
Differential Revision: https://reviews.llvm.org/D123648
More information about the All-commits