[PATCH] D118679: [RISCV] Don't make it an error have Zve* and V at the same time.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 1 07:23:09 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG2f023b94552b: [RISCV] Don't make it an error have Zve* and V at the same time. (authored by craig.topper).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118679

Files:
  llvm/lib/Support/RISCVISAInfo.cpp


Index: llvm/lib/Support/RISCVISAInfo.cpp
===================================================================
--- llvm/lib/Support/RISCVISAInfo.cpp
+++ llvm/lib/Support/RISCVISAInfo.cpp
@@ -723,12 +723,6 @@
         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'.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118679.404932.patch
Type: text/x-patch
Size: 707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220201/5654f642/attachment.bin>


More information about the llvm-commits mailing list