[all-commits] [llvm/llvm-project] 2afce7: [RISCV] Remove support for integers in RISCVAsmPar...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Mar 8 12:39:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2afce71fcfeca96ce14109000973cd4b2f5797c2
      https://github.com/llvm/llvm-project/commit/2afce71fcfeca96ce14109000973cd4b2f5797c2
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/test/MC/RISCV/zfa-invalid.s
    M llvm/test/MC/RISCV/zfa-valid.s

  Log Message:
  -----------
  [RISCV] Remove support for integers in RISCVAsmParser::parseFPImm.

Integers are ambiguous as to whether it's an index or an FP value
without a decimal.

Looks like maybe AArch64 equivalent treates integers in hex as
index and any other integer as a FP value without a decimal. We
need to work with the RVI community to decide what we should do.




More information about the All-commits mailing list