[PATCH] D102582: [PoC][RISCV] Report an error when target-abi option is empty but target-abi module flag is not.

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 16 09:58:29 PDT 2021


jrtc27 added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/module-target-abi.ll:10-11
 
-; RV32IF-ILP32F: -target-abi option != target-abi module flag
-
-; FLAGS: Flags: 0x0
+; EMPTY: LLVM ERROR: ABI is empty in -target-abi option, but target-abi module flag is ilp32.
+; MISMATCH: LLVM ERROR: Incompatilbe ABI in -target-abi option and target-abi module flag.
 
----------------
These error messages should be much more similar as they're basically the same. And as part of that, include the two ABIs in the mismatch error message, not just that there was a mismatch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102582/new/

https://reviews.llvm.org/D102582



More information about the llvm-commits mailing list