================
@@ -1087,17 +1087,17 @@ llvm::SmallVector<PrototypeDescriptor>
RVVIntrinsic::computeBuiltinTypes(
if (IsTuple) {
PrototypeDescriptor BasePtrOperand = Prototype[1];
PrototypeDescriptor MaskoffType = PrototypeDescriptor(
- static_cast<uint8_t>(BaseTypeModifier::Vector),
- static_cast<uint8_t>(getTupleVTM(NF)),
- BasePtrOperand.TM &
~static_cast<uint8_t>(TypeModifier::Pointer));
+ BaseTypeModifier::Vector, getTupleVTM(NF),
+ static_cast<TypeModifier>(BasePtrOperand.TM &
----------------
lukel97 wrote:
Is the static_cast avoidable here if both `BasePtrOperand.TM` and
`~TypeModifier::Pointer` are TypeModifiers?
https://github.com/llvm/llvm-project/pull/188418
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits