From baac57ffe3c9a4e8f1efef7fa96c8f835b128033 Mon Sep 17 00:00:00 2001 From: victor-eds Date: Fri, 22 Nov 2024 16:02:36 +0000 Subject: [PATCH] [XPU][TritonGEN] Drop `RoundingModeAttr` Drop unused `RoundingModeAttr` that is now both in the LLVM and Arith dialects in different forms. Signed-off-by: victor-eds --- .../Dialect/TritonGEN/IR/TritonGENAttrDefs.td | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/third_party/intel/include/Dialect/TritonGEN/IR/TritonGENAttrDefs.td b/third_party/intel/include/Dialect/TritonGEN/IR/TritonGENAttrDefs.td index 69fe66245c..38662d4245 100644 --- a/third_party/intel/include/Dialect/TritonGEN/IR/TritonGENAttrDefs.td +++ b/third_party/intel/include/Dialect/TritonGEN/IR/TritonGENAttrDefs.td @@ -43,19 +43,6 @@ def TritonGEN_ScanKindAttr : I32EnumAttr<"ScanKind", "TritonGEN subgroup scan ki let cppNamespace = "::mlir::triton::TritonGEN"; } -/// Enum attribute of the different floating-point rounding modes. -def TritonGEN_RoundingModeAttr : I32EnumAttr<"RoundingMode", - "TritonGEN floating-point rounding mode", - [ - I32EnumAttrCase<"UNUSED", 0, "unused">, - I32EnumAttrCase<"RTE", 1, "rte">, ///< Round to nearest, ties to even - I32EnumAttrCase<"RTN", 2, "rtn">, ///< Round toward negative - I32EnumAttrCase<"RTP", 3, "rtp">, ///< Round toward positive - I32EnumAttrCase<"RTZ", 4, "rtz">, ///< Round toward zero - ]> { - let cppNamespace = "::mlir::triton::TritonGEN"; -} - /// Enum attribute of the different precision types. def TritonGEN_PrecisionTypeAttr : I32EnumAttr<"PrecisionType", "TritonGEN precision type",