mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
Fix error message when regalloc eviction advisor analysis could not be created (#72165)
This commit is contained in:
parent
5adfad254e
commit
b7669ed95f
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user