[llvm-branch-commits] [mlir] fce9dd6 - [mlir][NFC] Remove StandardTypes.h now that all usages point to BuiltinTypes.h

River Riddle via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 16 20:49:48 PST 2020


Author: River Riddle
Date: 2020-12-16T20:41:42-08:00
New Revision: fce9dd6b252146d3d6e112be5026b9045419116d

URL: https://github.com/llvm/llvm-project/commit/fce9dd6b252146d3d6e112be5026b9045419116d
DIFF: https://github.com/llvm/llvm-project/commit/fce9dd6b252146d3d6e112be5026b9045419116d.diff

LOG: [mlir][NFC] Remove StandardTypes.h now that all usages point to BuiltinTypes.h

Differential Revision: https://reviews.llvm.org/D93430

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/ArmSVE/ArmSVEDialect.h
    mlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp

Removed: 
    mlir/include/mlir/IR/StandardTypes.h


################################################################################
diff  --git a/mlir/include/mlir/Dialect/ArmSVE/ArmSVEDialect.h b/mlir/include/mlir/Dialect/ArmSVE/ArmSVEDialect.h
index 15ca3403bef0..7689eb4b1378 100644
--- a/mlir/include/mlir/Dialect/ArmSVE/ArmSVEDialect.h
+++ b/mlir/include/mlir/Dialect/ArmSVE/ArmSVEDialect.h
@@ -13,9 +13,9 @@
 #ifndef MLIR_DIALECT_ARMSVE_ARMSVEDIALECT_H
 #define MLIR_DIALECT_ARMSVE_ARMSVEDIALECT_H
 
+#include "mlir/IR/BuiltinTypes.h"
 #include "mlir/IR/Dialect.h"
 #include "mlir/IR/OpDefinition.h"
-#include "mlir/IR/StandardTypes.h"
 #include "mlir/Interfaces/SideEffectInterfaces.h"
 
 #include "mlir/Dialect/ArmSVE/ArmSVEDialect.h.inc"

diff  --git a/mlir/include/mlir/IR/StandardTypes.h b/mlir/include/mlir/IR/StandardTypes.h
deleted file mode 100644
index bf186ef46019..000000000000
--- a/mlir/include/mlir/IR/StandardTypes.h
+++ /dev/null
@@ -1,16 +0,0 @@
-//===- StandardTypes.h - MLIR Standard Type Classes -------------*- C++ -*-===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef MLIR_IR_STANDARDTYPES_H
-#define MLIR_IR_STANDARDTYPES_H
-
-/// TODO: Remove this file when all references have been replaced by
-/// BuiltinTypes.h.
-#include "mlir/IR/BuiltinTypes.h"
-
-#endif // MLIR_IR_STANDARDTYPES_H

diff  --git a/mlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp b/mlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp
index 2c76a64fac5c..c10458a442b2 100644
--- a/mlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp
+++ b/mlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp
@@ -15,7 +15,6 @@
 #include "mlir/IR/Builders.h"
 #include "mlir/IR/DialectImplementation.h"
 #include "mlir/IR/OpImplementation.h"
-#include "mlir/IR/StandardTypes.h"
 #include "mlir/IR/TypeUtilities.h"
 #include "llvm/ADT/TypeSwitch.h"
 


        


More information about the llvm-branch-commits mailing list