blob: 9a6f3744cfcde34ad63056fe3056c381b3464333 [file] [log] [blame]
Hans Wennborgc97feb42021-04-28 09:56:04 +02001; REQUIRES: asserts
Roman Lebedevaecb2252021-04-27 21:09:20 +03002; RUN: not --crash llvm-as %s -o /dev/null 2>&1 | FileCheck %s
David Majnemer5c495aa2015-08-14 05:09:07 +00003
4define void @f(token %A, token %B) {
5entry:
6 br label %bb
7
8bb:
9 %phi = phi token [ %A, %bb ], [ %B, %entry]
10; CHECK: PHI nodes cannot have token type!
11 br label %bb
12}