File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -485,7 +485,8 @@ class RVVIntrinsic {
485
485
486
486
// RVVRequire should be sync'ed with target features, but only
487
487
// required features used in riscv_vector.td.
488
- enum RVVRequire : uint16_t {
488
+ using RVVRequireT = uint16_t ;
489
+ enum RVVRequire : RVVRequireT {
489
490
RVV_REQ_None = 0 ,
490
491
RVV_REQ_RV64 = 1 << 0 ,
491
492
RVV_REQ_ZvfhminOrZvfh = 1 << 1 ,
@@ -536,7 +537,7 @@ struct RVVIntrinsicRecord {
536
537
uint8_t OverloadedSuffixSize;
537
538
538
539
// Required target features for this intrinsic.
539
- uint16_t RequiredExtensions;
540
+ RVVRequireT RequiredExtensions;
540
541
541
542
// Supported type, mask of BasicType.
542
543
uint8_t TypeRangeMask;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ struct SemaRecord {
46
46
unsigned Log2LMULMask;
47
47
48
48
// Required extensions for this intrinsic.
49
- unsigned RequiredExtensions;
49
+ RVVRequireT RequiredExtensions;
50
50
51
51
// Prototype for this intrinsic.
52
52
SmallVector<PrototypeDescriptor> Prototype;
You can’t perform that action at this time.
0 commit comments