brintos

brintos / llvm-project-archived public Read only

0
0
Text · 417 B · 6af814b Raw
21 lines · plain
1# RUN: not llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2# This test ensures that an error is reported when a register operand doesn't3# follow register flags.4 5--- |6 7  define i32 @foo() {8  entry:9    ret i32 010  }11 12...13---14name:            foo15body: |16  bb.0.entry:17    ; CHECK: [[@LINE+1]]:33: expected a register after register flags18    $eax = MOV32r0 implicit-def 219    RET64 $eax20...21