[RISCV] Use ~0ULL instead of ~0U when checking for invalid ErrorInfo.
authorCraig Topper <craig.topper@sifive.com>
Fri, 27 Aug 2021 19:30:31 +0000 (12:30 -0700)
committerCraig Topper <craig.topper@sifive.com>
Fri, 27 Aug 2021 19:30:33 +0000 (12:30 -0700)
commitdbf0d8118ccbfd09def0974bf671c39e94d0be93
tree6ed1a9ba3d1d7520e7d67d60601ff8a905ec8f02
parent2f69c82cec1ae05b4fdcef4ac48f48e9e2bad32b
[RISCV] Use ~0ULL instead of ~0U when checking for invalid ErrorInfo.

ErrorInfo is a uint64_t and is initialized to all 1s.

Not sure how to test this. Noticed while working on .insn support.
llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp