================
@@ -68,7 +68,7 @@ class RISCVTargetInfo : public TargetInfo {
     return TargetInfo::VoidPtrBuiltinVaList;
   }
 
-  std::string_view getClobbers() const override { return ""; }
+  std::string_view getClobbers() const override { return "~{vl},~{vtype}"; }
----------------
wangpc-pp wrote:

```suggestion
  std::string_view getClobbers() const override {
    if (ISAInfo->hasExtension("zve32x"))
      return "~{vl},~{vtype}";
    return "";
  }
```

https://github.com/llvm/llvm-project/pull/128636
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to