================
@@ -288,9 +288,10 @@ class RISCVSubtarget : public RISCVGenSubtargetInfo {
bool hasVInstructionsI64() const { return HasStdExtZve64x; }
bool hasVInstructionsF16Minimal() const { return HasStdExtZvfhmin; }
bool hasVInstructionsF16() const { return HasStdExtZvfh; }
- bool hasVInstructionsBF16Minimal() const { return HasStdExtZvfbfmin; }
+ bool hasVInstructionsBF16Minimal() const { return HasStdExtZvfbfmin ||
HasStdExtZvfbfa; }
bool hasVInstructionsF32() const { return HasStdExtZve32f; }
bool hasVInstructionsF64() const { return HasStdExtZve64d; }
+ bool hasVInstructionsBF16() const { return HasStdExtZvfbfmin ||
HasStdExtZvfbfa; }
----------------
topperc wrote:
This shouldn't include `HasStdExtZvfbfmin`. Right now it's identical to
`hasVInstructionsBF16Minimal`
https://github.com/llvm/llvm-project/pull/161158
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits