Skip to content
Commit fee75f4b authored by Siddharth Bhat's avatar Siddharth Bhat
Browse files

[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.

llvm-svn: 304529
parent 07bee290
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment