[mlir][emitc][nfc] Clean up tests

With https://reviews.llvm.org/D131666 the types were removed from the
EmitC opaque attributes. This cleans up the tests accordingly.
This commit is contained in:
Marius Brehler 2022-08-12 08:21:21 +00:00
parent e8e718fa4b
commit f3547fd541
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
// RUN: mlir-translate -mlir-to-cpp -declare-variables-at-top %s | FileCheck %s -check-prefix=CPP-DECLTOP
func.func @emitc_constant() {
%c0 = "emitc.constant"(){value = #emitc.opaque<""> : i32} : () -> i32
%c0 = "emitc.constant"(){value = #emitc.opaque<"">} : () -> i32
%c1 = "emitc.constant"(){value = 42 : i32} : () -> i32
%c2 = "emitc.constant"(){value = -1 : i32} : () -> i32
%c3 = "emitc.constant"(){value = -1 : si8} : () -> si8

View File

@ -2,7 +2,7 @@
// RUN: mlir-translate -mlir-to-cpp -declare-variables-at-top %s | FileCheck %s -check-prefix=CPP-DECLTOP
func.func @emitc_variable() {
%c0 = "emitc.variable"(){value = #emitc.opaque<""> : i32} : () -> i32
%c0 = "emitc.variable"(){value = #emitc.opaque<"">} : () -> i32
%c1 = "emitc.variable"(){value = 42 : i32} : () -> i32
%c2 = "emitc.variable"(){value = -1 : i32} : () -> i32
%c3 = "emitc.variable"(){value = -1 : si8} : () -> si8