aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-06-30 10:44:08 +0200
committerNikita Popov <npopov@redhat.com>2022-06-30 11:10:17 +0200
commit41f0b6a78143776d673565cfa830849e3b468b8e (patch)
tree5254ed9bac0067dffc58adaee34a1c5b50a2f46b /llvm/lib/Transforms/Utils/InlineFunction.cpp
parenta6d4b4138ffcffabfacef12d1d903a44882ec933 (diff)
downloadllvm-41f0b6a78143776d673565cfa830849e3b468b8e.zip
llvm-41f0b6a78143776d673565cfa830849e3b468b8e.tar.gz
llvm-41f0b6a78143776d673565cfa830849e3b468b8e.tar.bz2
[Evaluator] Use ConstantFoldInstOperands()
For instructions that don't need any special handling, use ConstantFoldInstOperands(), rather than re-implementing individual cases. This is probably not NFC because it can handle cases the previous code missed (e.g. vector operations).
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions