1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/CodeGen/X86/token_landingpad.ll
Chen Li ecbd3cbd38 Remove FileCheck from test case token_landingpad.ll.
The test case only needs to make sure it does not crash LLVM.

llvm-svn: 255755
2015-12-16 06:27:09 +00:00

22 lines
528 B
LLVM

; RUN: llc < %s
; This test verifies that SelectionDAG can handle landingPad of token type and not crash LLVM.
define void @test() personality i32 (...)* @dummy_personality {
entry:
invoke void @dummy()
to label %return unwind label %unwind
unwind: ; preds = %entry
%lp = landingpad token
cleanup
br label %return
return: ; preds = %entry
ret void
}
declare void @dummy()
declare i32 @dummy_personality(...)