aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-06-23 15:09:11 +0200
committerNikita Popov <npopov@redhat.com>2023-06-23 15:36:23 +0200
commit8762f4c7489cf4711bdffb34fad66d2b9324f066 (patch)
treef94b782718bff618399382b26a9ebe33d1d30b6b /llvm/lib/Object/ObjectFile.cpp
parent940c94e1c1b99511630b6f61890ac54161b5829c (diff)
downloadllvm-8762f4c7489cf4711bdffb34fad66d2b9324f066.zip
llvm-8762f4c7489cf4711bdffb34fad66d2b9324f066.tar.gz
llvm-8762f4c7489cf4711bdffb34fad66d2b9324f066.tar.bz2
[InstCombine] Track inserted instructions when lowering objectsize
The inserted instructions can usually be simplified. Make sure this happens in the same InstCombine iteration by adding them to the worklist. We happen to get some better optimization in two cases, but this is just a lucky accident. https://github.com/llvm/llvm-project/issues/63472 tracks implementing a fold for that case. This doesn't track all inserted instructions yet, for that we would also have to include those created by ObjectSizeOffsetEvaluator.
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions