forked from OSchip/llvm-project
[RISCV] Don't make it an error have Zve* and V at the same time.
This should not be an error. V is a valid implementation of Zve.
Spec clarified here
9a877e8553
Differential Revision: https://reviews.llvm.org/D118679
This commit is contained in:
parent
7af1a2ed81
commit
2f023b9455
|
@ -723,12 +723,6 @@ Error RISCVISAInfo::checkDependency() {
|
|||
errc::invalid_argument,
|
||||
"zvl*b requires v or zve* extension to also be specified");
|
||||
|
||||
// Could not implement Zve* extension and the V extension at the same time.
|
||||
if (HasZve32x && HasV)
|
||||
return createStringError(
|
||||
errc::invalid_argument,
|
||||
"It is illegal to specify the v extension with zve* extensions");
|
||||
|
||||
// Additional dependency checks.
|
||||
// TODO: The 'q' extension requires rv64.
|
||||
// TODO: It is illegal to specify 'e' extensions with 'f' and 'd'.
|
||||
|
|
Loading…
Reference in New Issue