[all-commits] [llvm/llvm-project] cd1ed6: [RISCV] Add version of generateImmOutOfRangeError ...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Apr 26 11:10:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd1ed648c4ced256ffaace082ca2a921883cc3a2
      https://github.com/llvm/llvm-project/commit/cd1ed648c4ced256ffaace082ca2a921883cc3a2
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-04-26 (Wed, 26 Apr 2023)

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

  Log Message:
  -----------
  [RISCV] Add version of generateImmOutOfRangeError that takes an SMLoc.

Have the ErrorInfo version call it after looking up ErrorInfo in
the Operands.

Use the new function in a few places that don't have ErrorInfo and
were also generating out of range messages.




More information about the All-commits mailing list