1 ; RUN: llc -fast-isel -pass-remarks-missed=isel -pass-remarks-missed=isel \
2 ; RUN: -mtriple arm64-- < %s 2> %t | FileCheck %s
3 ; RUN: cat %t | FileCheck %s --check-prefix MISSED
5 %struct = type { [4 x i32] }
7 declare %struct @external()
9 ; Check that, when fastisel falls back to SDAG, we don't emit instructions
10 ; that follow a tail-call and would have been dropped by pure SDAGISel.
12 ; Here, the %struct extractvalue should fail FastISel.
14 ; MISSED: FastISel missed: %tmp1 = extractvalue %struct %tmp0, 0
18 ; CHECK-NEXT: .Lfunc_end0:
19 define i32 @test() nounwind {
20 %tmp0 = tail call %struct @external()
21 %tmp1 = extractvalue %struct %tmp0, 0
22 %tmp2 = extractvalue [4 x i32] %tmp1, 0