Skip to content

Commit 4bbae06

Browse files
committed
[clang][NFC] Annotate RISCVVIntrinsicUtils.h with preferred_type
This helps debuggers to display values in bit-fields in a more helpful way.
1 parent 23bdca2 commit 4bbae06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/include/clang/Support/RISCVVIntrinsicUtils.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,9 @@ struct RVVIntrinsicRecord {
554554
bool HasMaskPolicy : 1;
555555
bool HasFRMRoundModeOp : 1;
556556
bool IsTuple : 1;
557+
LLVM_PREFERRED_TYPE(PolicyScheme)
557558
uint8_t UnMaskedPolicyScheme : 2;
559+
LLVM_PREFERRED_TYPE(PolicyScheme)
558560
uint8_t MaskedPolicyScheme : 2;
559561
};
560562

0 commit comments

Comments
 (0)