brintos

brintos / llvm-project-archived public Read only

0
0
Text · 887 B · 5bd6910 Raw
15 lines · plain
1# RUN: not llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -skip-unsupported-instructions=lack-sched %s 2>&1 | FileCheck --check-prefixes=CHECK-ALL,CHECK-SKIP %s2# RUN: not llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 %s 2>&1 | FileCheck --check-prefixes=CHECK-ALL,CHECK-ERROR %s3 4# Test defends that if all instructions are skipped leaving an empty input, an error is printed.5 6bzhi %eax, %ebx, %ecx7 8# CHECK-ALL-NOT: error9 10# CHECK-ERROR: error: found an unsupported instruction in the input assembly sequence, use -skip-unsupported-instructions=lack-sched to ignore these on the input.11 12# CHECK-SKIP: warning: found an unsupported instruction in the input assembly sequence, skipping with -skip-unsupported-instructions, note accuracy will be impacted:13# CHECK-SKIP: note: instruction:      bzhil   %eax, %ebx, %ecx14# CHECK-SKIP: error: no assembly instructions found.15