aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-02-27 16:36:07 +0100
committerNikita Popov <npopov@redhat.com>2023-02-27 16:47:16 +0100
commit86d1ed9e480849ff57dfee23975165465ebe0fc8 (patch)
treef66b4abd42e7404e2486fb3e766d367041cd4756 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent9a29d87538842a29b430c6956a4f914896643691 (diff)
downloadllvm-86d1ed9e480849ff57dfee23975165465ebe0fc8.zip
llvm-86d1ed9e480849ff57dfee23975165465ebe0fc8.tar.gz
llvm-86d1ed9e480849ff57dfee23975165465ebe0fc8.tar.bz2
[InlineCost] Avoid ConstantExpr::getSelect()
Instead use ConstantFoldSelectInstruction(), which will return nullptr if it cannot be folded and a constant expression would be produced instead. In preparation for removing select constant expressions.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions