64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
12 lines
226 B
LLVM
12 lines
226 B
LLVM
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
define void @f(token %A, token %B) {
|
|
entry:
|
|
br label %bb
|
|
|
|
bb:
|
|
%phi = phi token [ %A, %bb ], [ %B, %entry]
|
|
; CHECK: PHI nodes cannot have token type!
|
|
br label %bb
|
|
}
|