HomePhabricator

[RegisterScavenging] Add asserts for better errors

Authored by sebastian-ne on Apr 8 2021, 7:27 AM.

Description

[RegisterScavenging] Add asserts for better errors

These cases were failing before, but with cryptic asserts.
Add asserts in the RegScavenger that fail earlier with better
messages. NFC

Differential Revision: https://reviews.llvm.org/D100109

Details

Committed
sebastian-neApr 9 2021, 2:23 AM
Differential Revision
D100109: [RegisterScavenging] Add asserts for better errors
Parents
rG36138db116a8: [AMDGPU] IsFlatScratch/Global -> FlatScratch/Global
Branches
Unknown
Tags
Unknown