@@ -405,9 +405,6 @@ std::optional<bool> compareFnAttributes(const CodeGenIntrinsic *L,
405405 if (L->isHyperView != R->isHyperView )
406406 return R->isHyperView ;
407407
408- if (L->isHyperToken != R->isHyperToken )
409- return R->isHyperToken ;
410-
411408 // Try to order by readonly/readnone attribute.
412409 uint32_t LK = L->ME .toIntValue ();
413410 uint32_t RK = R->ME .toIntValue ();
@@ -554,8 +551,6 @@ void IntrinsicEmitter::EmitAttributes(const CodeGenIntrinsicTable &Ints,
554551 OS << " Attribute::get(C, Attribute::ReducerUnregister),\n " ;
555552 if (Intrinsic.isHyperView )
556553 OS << " Attribute::get(C, Attribute::HyperView),\n " ;
557- if (Intrinsic.isHyperToken )
558- OS << " Attribute::get(C, Attribute::HyperToken),\n " ;
559554
560555 MemoryEffects ME = Intrinsic.ME ;
561556 // TODO: IntrHasSideEffects should affect not only readnone intrinsics.
@@ -631,8 +626,7 @@ void IntrinsicEmitter::EmitAttributes(const CodeGenIntrinsicTable &Ints,
631626 Intrinsic.isConvergent || Intrinsic.isSpeculatable ||
632627 Intrinsic.isStrictFP || Intrinsic.isInjective ||
633628 Intrinsic.isStrandPure || Intrinsic.isReducerRegister ||
634- Intrinsic.isReducerUnregister || Intrinsic.isHyperView ||
635- Intrinsic.isHyperToken ) {
629+ Intrinsic.isReducerUnregister || Intrinsic.isHyperView ) {
636630 unsigned ID = UniqFnAttributes.find (&Intrinsic)->second ;
637631 OS << " AS[" << numAttrs++ << " ] = {AttributeList::FunctionIndex, "
638632 << " getIntrinsicFnAttributeSet(C, " << ID << " )};\n " ;
0 commit comments