[all-commits] [llvm/llvm-project] dbf0d8: [RISCV] Use ~0ULL instead of ~0U when checking for...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Aug 27 12:36:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbf0d8118ccbfd09def0974bf671c39e94d0be93
      https://github.com/llvm/llvm-project/commit/dbf0d8118ccbfd09def0974bf671c39e94d0be93
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-08-27 (Fri, 27 Aug 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list