brintos

brintos / llvm-project-archived public Read only

0
0
Text · 432 B · baaffc7 Raw
18 lines · plain
1// RUN: mlir-opt %s -test-pdll-pass | FileCheck %s2 3// CHECK-LABEL: func @simpleTest4func.func @simpleTest() {5  // CHECK: test.success6  "test.simple"() : () -> ()7  return8}9 10// CHECK-LABEL: func @testImportedInterface11func.func @testImportedInterface() -> i1 {12  // CHECK: test.non_cast13  // CHECK: test.success14  "test.non_cast"() : () -> ()15  %value = "builtin.unrealized_conversion_cast"() : () -> (i1)16  return %value : i117}18