reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
# This test ensures that an error is reported when a register operand is sized
# but isn't generic, like a physical register.

---
name:            test_size_physreg
registers:
body: |
  bb.0.entry:
    liveins: $edi
    ; CHECK: [[@LINE+1]]:10: unexpected type on physical register
    $edi(s32) = G_ADD i32 $edi, $edi
...