[all-commits] [llvm/llvm-project] bfb180: [RISCV] Don't accept '-min', '-inf' or '-nan' in R...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Mar 7 15:37:18 PST 2023


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

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

  Log Message:
  -----------
  [RISCV] Don't accept '-min', '-inf' or '-nan' in RISCVAsmParser::parseFPImm.

We need to check for identifier before optionally parsing a minus sign.




More information about the All-commits mailing list