[all-commits] [llvm/llvm-project] 3b7806: [LoongArch] Handle out-fo-range uimm8 operands in ...

wanglei via All-commits all-commits at lists.llvm.org
Thu May 18 18:39:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b78065e3026de0d1ea4802cb6a4f35ebc687cdf
      https://github.com/llvm/llvm-project/commit/3b78065e3026de0d1ea4802cb6a4f35ebc687cdf
  Author: wanglei <wanglei at loongson.cn>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp
    M llvm/test/MC/LoongArch/Basic/Privilege/invalid.s

  Log Message:
  -----------
  [LoongArch] Handle out-fo-range uimm8 operands in LoongArchAsmParser

With this fix, when encountering an out-of-range uimm8 operand, the code
now triggers an appropriate error message, clearly indicating that the
immediate value must be an integer within the range of 0 to 255.




More information about the All-commits mailing list