mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 12:33:33 +02:00
7b825391db
Specifying isSSA is an extra line at best and results in invalid MI at worst. Compute the value instead. Differential Revision: http://reviews.llvm.org/D22722 llvm-svn: 279600
15 lines
452 B
YAML
15 lines
452 B
YAML
# 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 regular virtual register (gr32).
|
|
|
|
---
|
|
name: test_size_regclass
|
|
registers:
|
|
- { id: 0, class: gr32 }
|
|
body: |
|
|
bb.0.entry:
|
|
liveins: %edi
|
|
; CHECK: [[@LINE+1]]:8: unexpected size on non-generic virtual register
|
|
%0(32) = G_ADD i32 %edi, %edi
|
|
...
|