bolt/deps/llvm-18.1.8/llvm/test/Verifier/token1-without-asserts.ll

13 lines
247 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; REQUIRES: !asserts
; 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
}