1*775bd603SVisoiu Mistrih Francis# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 4 2*775bd603SVisoiu Mistrih Francis# RUN: llc -mtriple=riscv32 -verify-machineinstrs -run-pass=riscv-move-merge -simplify-mir -o - %s | FileCheck -check-prefixes=CHECK32I %s 3*775bd603SVisoiu Mistrih Francis# RUN: llc -mtriple=riscv32 -mattr=+zcmp -verify-machineinstrs -run-pass=riscv-move-merge -simplify-mir -o - %s | FileCheck -check-prefixes=CHECK32ZCMP %s 4*775bd603SVisoiu Mistrih Francis# RUN: llc -mtriple=riscv64 -verify-machineinstrs -run-pass=riscv-move-merge -simplify-mir -o - %s | FileCheck -check-prefixes=CHECK64I %s 5*775bd603SVisoiu Mistrih Francis# RUN: llc -mtriple=riscv64 -mattr=+zcmp -verify-machineinstrs -run-pass=riscv-move-merge -simplify-mir -o - %s | FileCheck -check-prefixes=CHECK64ZCMP %s 6*775bd603SVisoiu Mistrih Francis--- 7*775bd603SVisoiu Mistrih Francisname: zcmp_mv 8*775bd603SVisoiu Mistrih FrancistracksRegLiveness: true 9*775bd603SVisoiu Mistrih Francisbody: | 10*775bd603SVisoiu Mistrih Francis bb.0: 11*775bd603SVisoiu Mistrih Francis liveins: $x11, $x10 12*775bd603SVisoiu Mistrih Francis ; CHECK32I-LABEL: name: zcmp_mv 13*775bd603SVisoiu Mistrih Francis ; CHECK32I: liveins: $x11, $x10 14*775bd603SVisoiu Mistrih Francis ; CHECK32I-NEXT: {{ $}} 15*775bd603SVisoiu Mistrih Francis ; CHECK32I-NEXT: $x8 = ADDI $x11, 0 16*775bd603SVisoiu Mistrih Francis ; CHECK32I-NEXT: $x9 = ADDI $x10, 0 17*775bd603SVisoiu Mistrih Francis ; CHECK32I-NEXT: $x10 = ADDI killed $x9, 0 18*775bd603SVisoiu Mistrih Francis ; CHECK32I-NEXT: $x11 = ADDI $x8, 0 19*775bd603SVisoiu Mistrih Francis ; CHECK32I-NEXT: PseudoRET 20*775bd603SVisoiu Mistrih Francis ; 21*775bd603SVisoiu Mistrih Francis ; CHECK32ZCMP-LABEL: name: zcmp_mv 22*775bd603SVisoiu Mistrih Francis ; CHECK32ZCMP: liveins: $x11, $x10 23*775bd603SVisoiu Mistrih Francis ; CHECK32ZCMP-NEXT: {{ $}} 24*775bd603SVisoiu Mistrih Francis ; CHECK32ZCMP-NEXT: $x9, $x8 = CM_MVSA01 implicit $x10, implicit $x11 25*775bd603SVisoiu Mistrih Francis ; CHECK32ZCMP-NEXT: CM_MVA01S killed $x9, $x8, implicit-def $x10, implicit-def $x11 26*775bd603SVisoiu Mistrih Francis ; CHECK32ZCMP-NEXT: PseudoRET 27*775bd603SVisoiu Mistrih Francis ; 28*775bd603SVisoiu Mistrih Francis ; CHECK64I-LABEL: name: zcmp_mv 29*775bd603SVisoiu Mistrih Francis ; CHECK64I: liveins: $x11, $x10 30*775bd603SVisoiu Mistrih Francis ; CHECK64I-NEXT: {{ $}} 31*775bd603SVisoiu Mistrih Francis ; CHECK64I-NEXT: $x8 = ADDI $x11, 0 32*775bd603SVisoiu Mistrih Francis ; CHECK64I-NEXT: $x9 = ADDI $x10, 0 33*775bd603SVisoiu Mistrih Francis ; CHECK64I-NEXT: $x10 = ADDI killed $x9, 0 34*775bd603SVisoiu Mistrih Francis ; CHECK64I-NEXT: $x11 = ADDI $x8, 0 35*775bd603SVisoiu Mistrih Francis ; CHECK64I-NEXT: PseudoRET 36*775bd603SVisoiu Mistrih Francis ; 37*775bd603SVisoiu Mistrih Francis ; CHECK64ZCMP-LABEL: name: zcmp_mv 38*775bd603SVisoiu Mistrih Francis ; CHECK64ZCMP: liveins: $x11, $x10 39*775bd603SVisoiu Mistrih Francis ; CHECK64ZCMP-NEXT: {{ $}} 40*775bd603SVisoiu Mistrih Francis ; CHECK64ZCMP-NEXT: $x9, $x8 = CM_MVSA01 implicit $x10, implicit $x11 41*775bd603SVisoiu Mistrih Francis ; CHECK64ZCMP-NEXT: CM_MVA01S killed $x9, $x8, implicit-def $x10, implicit-def $x11 42*775bd603SVisoiu Mistrih Francis ; CHECK64ZCMP-NEXT: PseudoRET 43*775bd603SVisoiu Mistrih Francis $x8 = ADDI $x11, 0 44*775bd603SVisoiu Mistrih Francis $x9 = ADDI $x10, 0 45*775bd603SVisoiu Mistrih Francis $x10 = ADDI killed $x9, 0 46*775bd603SVisoiu Mistrih Francis $x11 = ADDI $x8, 0 47*775bd603SVisoiu Mistrih Francis PseudoRET 48*775bd603SVisoiu Mistrih Francis... 49