diff --git a/llvm/utils/TableGen/CodeGenIntrinsics.h b/llvm/utils/TableGen/CodeGenIntrinsics.h index b0fdbbe8c7ba..8a449e12a5dd 100644 --- a/llvm/utils/TableGen/CodeGenIntrinsics.h +++ b/llvm/utils/TableGen/CodeGenIntrinsics.h @@ -115,7 +115,6 @@ struct CodeGenIntrinsic { // Tapir reducer-related attributes bool isStrandPure; bool isHyperView; - bool isHyperToken; bool isReducerRegister; bool isReducerUnregister; diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp index 06284b714739..caa3a5d65dd4 100644 --- a/llvm/utils/TableGen/CodeGenTarget.cpp +++ b/llvm/utils/TableGen/CodeGenTarget.cpp @@ -692,7 +692,6 @@ CodeGenIntrinsic::CodeGenIntrinsic(Record *R, isInjective = false; isStrandPure = false; isHyperView = false; - isHyperToken = false; isReducerRegister = false; isReducerUnregister = false; @@ -906,8 +905,6 @@ void CodeGenIntrinsic::setProperty(Record *R) { isReducerRegister = true; else if (R->getName() == "IntrHyperView") isHyperView = true; - else if (R->getName() == "IntrHyperToken") - isHyperToken = true; else if (R->getName() == "IntrReducerUnregister") isReducerUnregister = true; else if (R->isSubClassOf("NoCapture")) { diff --git a/llvm/utils/TableGen/IntrinsicEmitter.cpp b/llvm/utils/TableGen/IntrinsicEmitter.cpp index 06991fdb3969..27383e844e92 100644 --- a/llvm/utils/TableGen/IntrinsicEmitter.cpp +++ b/llvm/utils/TableGen/IntrinsicEmitter.cpp @@ -655,9 +655,6 @@ std::optional compareFnAttributes(const CodeGenIntrinsic *L, if (L->isHyperView != R->isHyperView) return R->isHyperView; - if (L->isHyperToken != R->isHyperToken) - return R->isHyperToken; - // Try to order by readonly/readnone attribute. uint32_t LK = L->ME.toIntValue(); uint32_t RK = R->ME.toIntValue(); @@ -798,8 +795,6 @@ void IntrinsicEmitter::EmitAttributes(const CodeGenIntrinsicTable &Ints, OS << " Attribute::get(C, Attribute::ReducerUnregister),\n"; if (Intrinsic.isHyperView) OS << " Attribute::get(C, Attribute::HyperView),\n"; - if (Intrinsic.isHyperToken) - OS << " Attribute::get(C, Attribute::HyperToken),\n"; MemoryEffects ME = Intrinsic.ME; // TODO: IntrHasSideEffects should affect not only readnone intrinsics. @@ -875,7 +870,7 @@ void IntrinsicEmitter::EmitAttributes(const CodeGenIntrinsicTable &Ints, Intrinsic.isConvergent || Intrinsic.isSpeculatable || Intrinsic.isInjective || Intrinsic.isStrandPure || Intrinsic.isReducerRegister || Intrinsic.isReducerUnregister || - Intrinsic.isHyperView || Intrinsic.isHyperToken) { + Intrinsic.isHyperView) { unsigned ID = UniqFnAttributes.find(&Intrinsic)->second; OS << " AS[" << numAttrs++ << "] = {AttributeList::FunctionIndex, " << "getIntrinsicFnAttributeSet(C, " << ID << ")};\n";