Page MenuHomePhabricator

[LV] Move collect* calls to LVP::plan() (NFC).
Needs ReviewPublic

Authored by fhahn on Jan 26 2023, 3:07 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Move calls of collect* helpers closer to where the cost-model is used.
Should help simplifying D142669 & D142670.

Diff Detail

Unit TestsFailed

TimeTest
50 msx64 debian > LLVM.Transforms/SCCP::add-nuw-nsw-flags.ll
Script: -- : 'RUN: at line 2'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/opt -passes=ipsccp -S /var/lib/buildkite-agent/builds/llvm-project/llvm/test/Transforms/SCCP/add-nuw-nsw-flags.ll | /var/lib/buildkite-agent/builds/llvm-project/build/bin/FileCheck /var/lib/buildkite-agent/builds/llvm-project/llvm/test/Transforms/SCCP/add-nuw-nsw-flags.ll

Event Timeline

fhahn created this revision.Jan 26 2023, 3:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 26 2023, 3:07 PM
fhahn requested review of this revision.Jan 26 2023, 3:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 26 2023, 3:07 PM