[all-commits] [llvm/llvm-project] c0afb7: RISCVAsmParser: Reject call foo at invalid

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Apr 13 11:07:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0afb77c2ab92d244d66f2e9bfcf7da92af6091c
      https://github.com/llvm/llvm-project/commit/c0afb77c2ab92d244d66f2e9bfcf7da92af6091c
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

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

  Log Message:
  -----------
  RISCVAsmParser: Reject call foo at invalid

... instead of silently parsing and ignoring it without leaving an error
message.

While here, remove an unreachable `@plt`.

Pull Request: https://github.com/llvm/llvm-project/pull/135509



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list