forked from OSchip/llvm-project
[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:
parent
e8e718fa4b
commit
f3547fd541
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue