Fix error message when regalloc eviction advisor analysis could not be created (#72165)

This commit is contained in:
AdityaK 2023-11-14 11:17:17 -08:00 committed by GitHub
parent 5adfad254e
commit b7669ed95f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ private:
bool doInitialization(Module &M) override {
if (NotAsRequested)
M.getContext().emitError("Requested regalloc eviction advisor analysis "
"could be created. Using default");
"could not be created. Using default");
return RegAllocEvictionAdvisorAnalysis::doInitialization(M);
}
const bool NotAsRequested;

View File

@ -16,5 +16,5 @@ define void @f2(i64 %lhs, i64 %rhs, i64* %addr) {
ret void
}
; CHECK: Requested regalloc eviction advisor analysis could be created. Using default
; DEFAULT-NOT: Requested regalloc eviction advisor analysis could be created. Using default
; CHECK: Requested regalloc eviction advisor analysis could not be created. Using default
; DEFAULT-NOT: Requested regalloc eviction advisor analysis could not be created. Using default