// REQUIRES: target=x86{{.*}} // RUN: mlir-opt %s -llvm-target-to-data-layout --split-input-file --verify-diagnostics // expected-error @+1 {{failed to obtain llvm::DataLayout for #llvm.target}} module attributes { dlti.dl_spec = #dlti.dl_spec, llvm.target = #llvm.target } { }