llvm/test/CodeGen/X86/token_landingpad.ll
Chen Li 813f44a29f Remove FileCheck from test case token_landingpad.ll.
The test case only needs to make sure it does not crash LLVM.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255755 91177308-0d34-0410-b5e6-96231b3b80d8
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(...)