1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64-unknown-unknown -verify-machineinstrs -run-pass=instruction-select %s -o - | FileCheck %s
9 tracksRegLiveness: true
14 ; CHECK-LABEL: name: CNTv8i8
16 ; CHECK: %copy:fpr64 = COPY $d0
17 ; CHECK: %ctpop:fpr64 = CNTv8i8 %copy
18 ; CHECK: $d0 = COPY %ctpop
19 ; CHECK: RET_ReallyLR implicit $d0
20 %copy:fpr(<8 x s8>) = COPY $d0
21 %ctpop:fpr(<8 x s8>) = G_CTPOP %copy(<8 x s8>)
22 $d0 = COPY %ctpop(<8 x s8>)
23 RET_ReallyLR implicit $d0
30 tracksRegLiveness: true
35 ; CHECK-LABEL: name: CNTv16i8
37 ; CHECK: %copy:fpr128 = COPY $q0
38 ; CHECK: %ctpop:fpr128 = CNTv16i8 %copy
39 ; CHECK: $q0 = COPY %ctpop
40 ; CHECK: RET_ReallyLR implicit $q0
41 %copy:fpr(<16 x s8>) = COPY $q0
42 %ctpop:fpr(<16 x s8>) = G_CTPOP %copy(<16 x s8>)
43 $q0 = COPY %ctpop(<16 x s8>)
44 RET_ReallyLR implicit $q0