1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2 # This test ensures that an error is reported when a register operand is sized
3 # but isn't generic, like a physical register.
6 name: test_size_physreg
11 ; CHECK: [[@LINE+1]]:10: unexpected type on physical register
12 $edi(s32) = G_ADD i32 $edi, $edi