aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-06-20 17:38:04 +0200
committerNikita Popov <npopov@redhat.com>2022-06-23 11:32:14 +0200
commit20b5f0c641c98e68d66dbaf882556e14f1fba9b8 (patch)
treedc5340587872b02c9ffee1916469a4882bc3f4fe /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent7dc81c624433627e6811801b5a7e53d77c216616 (diff)
downloadllvm-20b5f0c641c98e68d66dbaf882556e14f1fba9b8.zip
llvm-20b5f0c641c98e68d66dbaf882556e14f1fba9b8.tar.gz
llvm-20b5f0c641c98e68d66dbaf882556e14f1fba9b8.tar.bz2
[IR] Export ConstantFold.h header (NFC)
This is in preparation for https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179. As part of that change, we'll want to invoke some of these constant folding APIs explicitly, as it won't happen as part of ConstantExpr::getXYZ() anymore. Ideally, we'd merge these with the DL-aware constant folding APIs and only call those, but this is not easily possible for some current usages (most important IRBuilder, which uses DL-independent constant folding by default, and some major layering changes would be needed to change that). This is basically a reboot of D115035 with different motivation. Differential Revision: https://reviews.llvm.org/D128213
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions