From 6173d1277be04739bc5d977546309f7c765156c8 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Sat, 2 Jan 2021 22:56:44 -0800 Subject: [PATCH] Remove allow-unregistered-dialect from some tests that don't need it Differential Revision: https://reviews.llvm.org/D93982 --- .../GPUCommon/lower-alloc-to-gpu-runtime-calls.mlir | 2 +- .../GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir | 4 ++-- .../GPUCommon/lower-memcpy-to-gpu-runtime-calls.mlir | 2 +- .../Conversion/GPUCommon/lower-wait-to-gpu-runtime-calls.mlir | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mlir/test/Conversion/GPUCommon/lower-alloc-to-gpu-runtime-calls.mlir b/mlir/test/Conversion/GPUCommon/lower-alloc-to-gpu-runtime-calls.mlir index 06ccd1e8f4ee..d1b1af813163 100644 --- a/mlir/test/Conversion/GPUCommon/lower-alloc-to-gpu-runtime-calls.mlir +++ b/mlir/test/Conversion/GPUCommon/lower-alloc-to-gpu-runtime-calls.mlir @@ -1,4 +1,4 @@ -// RUN: mlir-opt -allow-unregistered-dialect %s --gpu-to-llvm | FileCheck %s +// RUN: mlir-opt %s --gpu-to-llvm | FileCheck %s module attributes {gpu.container_module} { func @main() { diff --git a/mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir b/mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir index c63936848e9a..3fcf3a00ab9a 100644 --- a/mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir +++ b/mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir @@ -1,5 +1,5 @@ -// RUN: mlir-opt -allow-unregistered-dialect %s --gpu-to-llvm="gpu-binary-annotation=nvvm.cubin" | FileCheck %s -// RUN: mlir-opt -allow-unregistered-dialect %s --gpu-to-llvm="gpu-binary-annotation=rocdl.hsaco" | FileCheck %s --check-prefix=ROCDL +// RUN: mlir-opt %s --gpu-to-llvm="gpu-binary-annotation=nvvm.cubin" | FileCheck %s +// RUN: mlir-opt %s --gpu-to-llvm="gpu-binary-annotation=rocdl.hsaco" | FileCheck %s --check-prefix=ROCDL module attributes {gpu.container_module} { diff --git a/mlir/test/Conversion/GPUCommon/lower-memcpy-to-gpu-runtime-calls.mlir b/mlir/test/Conversion/GPUCommon/lower-memcpy-to-gpu-runtime-calls.mlir index 790c92f92ec9..162c2f4e838a 100644 --- a/mlir/test/Conversion/GPUCommon/lower-memcpy-to-gpu-runtime-calls.mlir +++ b/mlir/test/Conversion/GPUCommon/lower-memcpy-to-gpu-runtime-calls.mlir @@ -1,4 +1,4 @@ -// RUN: mlir-opt -allow-unregistered-dialect %s --gpu-to-llvm | FileCheck %s +// RUN: mlir-opt %s --gpu-to-llvm | FileCheck %s module attributes {gpu.container_module} { diff --git a/mlir/test/Conversion/GPUCommon/lower-wait-to-gpu-runtime-calls.mlir b/mlir/test/Conversion/GPUCommon/lower-wait-to-gpu-runtime-calls.mlir index b6eacfb969dd..3234e885185e 100644 --- a/mlir/test/Conversion/GPUCommon/lower-wait-to-gpu-runtime-calls.mlir +++ b/mlir/test/Conversion/GPUCommon/lower-wait-to-gpu-runtime-calls.mlir @@ -1,4 +1,4 @@ -// RUN: mlir-opt -allow-unregistered-dialect %s --gpu-to-llvm | FileCheck %s +// RUN: mlir-opt %s --gpu-to-llvm | FileCheck %s module attributes {gpu.container_module} {