mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-23 12:45:47 +00:00
TableGen: Initialize ErrorInfo to ~0ULL in the MatchInstructionImpl
This is what all the targets check for and is consistent with the initialized value of MissingFeatures, which is sometimes assinged to ErrorInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231397 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
67297cd956
commit
98225d9c9c
@ -2887,7 +2887,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
|
||||
OS << " uint64_t MissingFeatures = ~0ULL;\n";
|
||||
OS << " // Set ErrorInfo to the operand that mismatches if it is\n";
|
||||
OS << " // wrong for all instances of the instruction.\n";
|
||||
OS << " ErrorInfo = ~0U;\n";
|
||||
OS << " ErrorInfo = ~0ULL;\n";
|
||||
|
||||
// Emit code to search the table.
|
||||
OS << " // Find the appropriate table for this asm variant.\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user