blob: 3deebe6acdc6f65e5aac21a3d68da148e81ca980 [file] [log] [blame]
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=amdgcn-mesa-mesa3d -mcpu=fiji -run-pass=legalizer %s -o - | FileCheck %s
---
name: test_intrinsic_round_f32
body: |
bb.0:
liveins: $vgpr0
; CHECK-LABEL: name: test_intrinsic_round_f32
; CHECK: [[COPY:%[0-9]+]]:_(s32) = COPY $vgpr0
%0:_(s32) = COPY $vgpr0
%1:_(s32) = G_INTRINSIC_ROUND %0
...
---
name: test_intrinsic_round_f64
body: |
bb.0:
liveins: $vgpr0_vgpr1
; CHECK-LABEL: name: test_intrinsic_round_f64
; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $vgpr0_vgpr1
%0:_(s64) = COPY $vgpr0_vgpr1
%1:_(s64) = G_INTRINSIC_ROUND %0
...