2020-01-16 09:46:18 +08:00
|
|
|
# RUN: not llc -mtriple=amdgcn-- -O0 -run-pass=legalizer -o - %s 2>&1 | FileCheck %s
|
2019-01-21 02:40:36 +08:00
|
|
|
|
|
|
|
# CHECK: LLVM ERROR: unable to legalize instruction: %1:_(s1), %2:_(s1) = G_UNMERGE_VALUES %0:_(<2 x s1>) (in function: test_unmerge_v2s1)
|
|
|
|
|
|
|
|
---
|
|
|
|
name: test_unmerge_v2s1
|
|
|
|
body: |
|
|
|
|
bb.0:
|
|
|
|
%0:_(<2 x s1>) = G_IMPLICIT_DEF
|
|
|
|
%1:_(s1), %2:_(s1) = G_UNMERGE_VALUES %0
|
|
|
|
S_NOP 0, implicit %1
|
|
|
|
S_NOP 0, implicit %2
|
|
|
|
...
|
|
|
|
|