aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-06-16 16:39:54 +0200
committerNikita Popov <npopov@redhat.com>2022-06-29 10:02:07 +0200
commit348ea34bcdbd4c62dd9b41cb05c7081f530f39cc (patch)
tree1ef243c7fbb54b05ca2a099ccdf671a749307123 /llvm/lib/Bitcode
parenta97a79da027211bce150892d1eebf334e526c0d8 (diff)
downloadllvm-348ea34bcdbd4c62dd9b41cb05c7081f530f39cc.zip
llvm-348ea34bcdbd4c62dd9b41cb05c7081f530f39cc.tar.gz
llvm-348ea34bcdbd4c62dd9b41cb05c7081f530f39cc.tar.bz2
[AsmPrinter] Further restrict expressions supported in global initializers
lowerConstant() currently accepts a number of constant expressions which have corresponding MC expressions, but which cannot be evaluated as a relocatable expression (unless the operands are constant, in which case we'll just fold the expression to a constant). The motivation here is to clarify which constant expressions are really needed for https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179, and in particular clarify that we do not need to support any division expressions, which are particularly problematic. Differential Revision: https://reviews.llvm.org/D127972
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions