[OpenACC] Fixup test to be more consistent
[llvm-project.git] / llvm / test / CodeGen / RISCV / GlobalISel / instruction-select / ctpop-rv64.mir
blobf91f029209220f4f5f002f33162d19bd58980adb
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=riscv64 -mattr=+zbb -run-pass=instruction-select \
3 # RUN:   -simplify-mir -verify-machineinstrs %s -o - \
4 # RUN:   | FileCheck -check-prefix=RV64I %s
6 ---
7 name:            ctpop_s64
8 legalized:       true
9 regBankSelected: true
10 body:             |
11   bb.0.entry:
12     ; RV64I-LABEL: name: ctpop_s64
13     ; RV64I: [[COPY:%[0-9]+]]:gpr = COPY $x10
14     ; RV64I-NEXT: [[CPOP:%[0-9]+]]:gpr = CPOP [[COPY]]
15     ; RV64I-NEXT: $x10 = COPY [[CPOP]]
16     ; RV64I-NEXT: PseudoRET implicit $x10
17     %0:gprb(s64) = COPY $x10
18     %1:gprb(s64) = G_CTPOP %0
19     $x10 = COPY %1(s64)
20     PseudoRET implicit $x10
22 ...