brintos

brintos / llvm-project-archived public Read only

0
0
Text · 594 B · f8ac4f0 Raw
16 lines · plain
1// REQUIRES: asserts2// RUN: mlir-runner %s --debug-only=jit-runner -mattr=+foo_bar -e entry -entry-point-result=void 2>&1 | FileCheck %s --check-prefixes=MATTR3// RUN: not mlir-runner %s --debug-only=jit-runner -march=bar_foo -e entry -entry-point-result=void 2>&1 | FileCheck %s --check-prefixes=MARCH4 5// Verify that command line args do affect the configuration6 7// MATTR: Features = 8// MATTR-SAME: +foo_bar9 10// MARCH: Failed to create a TargetMachine for the host11// MARCH-NEXT: No available targets are compatible with triple "bar_foo-{{.*}}"12 13llvm.func @entry() -> () {14  llvm.return15}16