27 lines
999 B
Plaintext
27 lines
999 B
Plaintext
|
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
||
|
# RUN: llc -mtriple aarch64 -verify-machineinstrs -run-pass=legalizer -debugify-and-strip-all-safe %s -o - | FileCheck %s
|
||
|
|
||
|
---
|
||
|
name: test_scalar_usube_32
|
||
|
body: |
|
||
|
bb.0.entry:
|
||
|
; CHECK-LABEL: name: test_scalar_usube_32
|
||
|
; CHECK: [[COPY:%[0-9]+]]:_(s32) = COPY $w0
|
||
|
; CHECK: [[COPY1:%[0-9]+]]:_(s32) = COPY $w1
|
||
|
; CHECK: [[COPY2:%[0-9]+]]:_(s32) = COPY $w2
|
||
|
; CHECK: [[TRUNC:%[0-9]+]]:_(s1) = G_TRUNC [[COPY2]](s32)
|
||
|
; CHECK: [[USUBE:%[0-9]+]]:_(s32), [[USUBE1:%[0-9]+]]:_(s1) = G_USUBE [[COPY]], [[COPY1]], [[TRUNC]]
|
||
|
; CHECK: [[COPY3:%[0-9]+]]:_(s32) = COPY [[COPY2]](s32)
|
||
|
; CHECK: $w0 = COPY [[USUBE]](s32)
|
||
|
; CHECK: $w1 = COPY [[COPY3]](s32)
|
||
|
%0:_(s32) = COPY $w0
|
||
|
%1:_(s32) = COPY $w1
|
||
|
%2:_(s32) = COPY $w2
|
||
|
%3:_(s1) = G_TRUNC %2
|
||
|
%4:_(s32), %5:_(s1) = G_USUBE %0, %1, %3
|
||
|
%6:_(s32) = G_ANYEXT %3
|
||
|
$w0 = COPY %4(s32)
|
||
|
$w1 = COPY %6(s32)
|
||
|
|
||
|
...
|