HomePhabricator

[NFC] [CodeGen] Bail out of per-scop performance reporting if not supported.

Description

[NFC] [CodeGen] Bail out of per-scop performance reporting if not supported.

We should bail out if performance monitoring is not supported, since
we would have no information to print per-scop, and FinalStartBB,
ReturnFromFinal would be nullptr.

Assert that these are not nullptr if performance monitoring is supported.

Details

Committed
bolluJun 2 2017, 1:44 AM
Parents
rL304528: [CodeGen] Extend Performance Counter to track per-scop information.
Branches
Unknown
Tags
Unknown