You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
408 B

# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
# This test ensures that an error is reported when an unknown instruction is
# encountered.
--- |
define i32 @foo() {
entry:
ret i32 0
}
...
---
name: foo
body: |
bb.0.entry:
; CHECK: [[@LINE+1]]:5: unknown machine instruction name 'retJust0'
retJust0
...