From 53d4ff4a4783d8b0a37e5349eace738f4aceed7c Mon Sep 17 00:00:00 2001 From: Jakub Kuderski Date: Mon, 15 Aug 2022 13:17:42 -0400 Subject: [PATCH] [mlir] Simplify is_splat use in MatchAllPred. NFC. This is a simple cleanup after https://reviews.llvm.org/D131289. Reviewed By: antiagainst, Mogball Differential Revision: https://reviews.llvm.org/D131895 --- mlir/include/mlir/IR/OpBase.td | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td index 3490384..9e2b7ab 100644 --- a/mlir/include/mlir/IR/OpBase.td +++ b/mlir/include/mlir/IR/OpBase.td @@ -2288,8 +2288,7 @@ class ElementCount : class ElementType : StrFunc<"getElementTypeOrSelf($" # name # ")">; class AllMatchPred values> : - CPred<"::llvm::is_splat(::llvm::makeArrayRef({" - # !interleave(values, ", ") #"}))">; + CPred<"::llvm::is_splat({" # !interleave(values, ", ") # "})">; class AllMatch values, string summary> : PredOpTrait>; -- 2.7.4