1 # RUN: llc -mtriple=x86_64-- -run-pass=finalize-isel -verify-machineinstrs -o - %s | FileCheck %s
2 # RUN: llc -mtriple=x86_64-- -passes=finalize-isel -o - %s | FileCheck %s
3 # Check that we're not copying the kill flags with the operands from the pseudo
6 define void @bar() { ret void }
8 !llvm.module.flags = !{!0}
10 !0 = !{i32 8, !"cf-protection-return", i32 1}
14 # CHECK-LABEL: name: bar
16 tracksRegLiveness: true
20 %0:gr64 = IMPLICIT_DEF
21 ; CHECK: %0:gr64 = IMPLICIT_DEF
22 EH_SjLj_LongJmp64 killed %0, 1, $noreg, 0, $noreg
25 ; CHECK-NOT: MOV64rm killed %0
27 ; CHECK-NEXT: MOV64rm %0
28 ; CHECK-NOT: MOV64rm killed %0
29 ; CHECK-NEXT: MOV64rm %0
30 ; CHECK-NOT: MOV64rm killed %0
31 ; CHECK-NEXT: MOV64rm killed %0