[all-commits] [llvm/llvm-project] 11f74c: [RISCV] Improve error message when the extension i...
Brandon Wu via All-commits
all-commits at lists.llvm.org
Tue Mar 5 17:25:54 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 11f74cd4bb487e956c92132b4991e8cde1dd1a81
https://github.com/llvm/llvm-project/commit/11f74cd4bb487e956c92132b4991e8cde1dd1a81
Author: Brandon Wu <brandon.wu at sifive.com>
Date: 2024-03-06 (Wed, 06 Mar 2024)
Changed paths:
M clang/test/Driver/riscv-arch.c
M llvm/lib/Support/RISCVISAInfo.cpp
M llvm/unittests/Support/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Improve error message when the extension is not supported (#83989)
If the "march" has some extension with version that is not supported, it
returns the error message like: "error: invalid arch name 'some_arch',
unsupported version number 2.0 for extension 'some_arch'", which is not
precise enough, it should return the message that only tells users "the
extension is not supported".
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