brintos

brintos / llvm-project-archived public Read only

0
0
Text · 321 B · f2129b7 Raw
8 lines · plain
1// RUN: mlir-opt --allow-unregistered-dialect -split-input-file -verify-diagnostics %s2 3llvm.func @deref(%arg0: !llvm.ptr) {4    // expected-error @below {{op expected op to return a single LLVM pointer type}}5    %0 = llvm.load %arg0 dereferenceable<bytes = 8> {alignment = 8 : i64} : !llvm.ptr -> i646    llvm.return7}8