[PATCH] D93982: Remove allow-unregistered-dialect from some tests that don't need it

Sanjoy Das (Work Account) via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 2 22:57:59 PST 2021


sanjoy.google created this revision.
sanjoy.google added a reviewer: csigg.
Herald added subscribers: teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini.
sanjoy.google requested review of this revision.
Herald added subscribers: stephenneuendorffer, nicolasvasilache.
Herald added a reviewer: herhut.
Herald added a project: MLIR.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93982

Files:
  mlir/test/Conversion/GPUCommon/lower-alloc-to-gpu-runtime-calls.mlir
  mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
  mlir/test/Conversion/GPUCommon/lower-memcpy-to-gpu-runtime-calls.mlir
  mlir/test/Conversion/GPUCommon/lower-wait-to-gpu-runtime-calls.mlir


Index: mlir/test/Conversion/GPUCommon/lower-wait-to-gpu-runtime-calls.mlir
===================================================================
--- mlir/test/Conversion/GPUCommon/lower-wait-to-gpu-runtime-calls.mlir
+++ 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} {
 
Index: mlir/test/Conversion/GPUCommon/lower-memcpy-to-gpu-runtime-calls.mlir
===================================================================
--- mlir/test/Conversion/GPUCommon/lower-memcpy-to-gpu-runtime-calls.mlir
+++ 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} {
 
Index: mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
===================================================================
--- mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
+++ 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} {
 
Index: mlir/test/Conversion/GPUCommon/lower-alloc-to-gpu-runtime-calls.mlir
===================================================================
--- mlir/test/Conversion/GPUCommon/lower-alloc-to-gpu-runtime-calls.mlir
+++ 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() {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93982.314268.patch
Type: text/x-patch
Size: 2274 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210103/3adc0598/attachment.bin>


More information about the llvm-commits mailing list