[AVX512] add PSLLW and PSLLV Intrinsic
[oota-llvm.git] / test / CodeGen / X86 / token_landingpad.ll
1 ; RUN: llc < %s
2
3 ; This test verifies that SelectionDAG can handle landingPad of token type and not crash LLVM.
4
5 define void @test() personality i32 (...)* @dummy_personality {
6 entry:
7   invoke void @dummy()
8           to label %return unwind label %unwind
9
10 unwind:                                           ; preds = %entry
11   %lp = landingpad token
12             cleanup
13   br label %return
14
15 return:                                           ; preds = %entry
16   ret void
17 }
18
19 declare void @dummy()
20
21 declare i32 @dummy_personality(...)