This is an archive of the discontinued LLVM Phabricator instance.

[LoongArch] Add tests showing the optimization pipeline
ClosedPublic

Authored by SixWeining on Dec 6 2022, 7:34 PM.

Details

Summary

Other targets like ARM, AArch64, RISCV and X86 have similar tests.

O1, O2 and O3 appear to be the same for now. But in future, some
passes may be disabled at lower levels (e.g. O1). Hoping we can use
FileCheck prefixes for differences to avoid repeating the contents 3
times.

Diff Detail

Event Timeline

SixWeining created this revision.Dec 6 2022, 7:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2022, 7:34 PM
SixWeining requested review of this revision.Dec 6 2022, 7:34 PM
SixWeining edited the summary of this revision. (Show Details)Dec 6 2022, 7:35 PM
MaskRay accepted this revision.Dec 14 2022, 12:36 AM

LGTM.

This revision is now accepted and ready to land.Dec 14 2022, 12:36 AM
xen0n accepted this revision.Dec 15 2022, 6:50 PM

This is nice for being able to know if the pipeline is being affected by a change. Thanks for the addition.

This revision was landed with ongoing or failed builds.Dec 16 2022, 2:10 AM
This revision was automatically updated to reflect the committed changes.