brintos

brintos / llvm-project-archived public Read only

0
0
Text · 474 B · a677bbf Raw
24 lines · plain
1# RUN: not llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2# This test ensures that the MIR parser reports an error when it encounters an3# unknown register class.4 5--- |6 7  define i32 @test(i32 %a) {8  entry:9    ret i32 %a10  }11 12...13---14name:            test15tracksRegLiveness: true16registers:17  # CHECK: [[@LINE+1]]:20: use of undefined register class or register bank 'gr3200'18  - {id: 0, class: 'gr3200'}19body: |20  bb.0.entry:21    RET64 %eax22...23 24