30 lines
771 B
YAML
30 lines
771 B
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
|
# RUN: llc -O0 -run-pass=legalizer %s -o - | FileCheck %s
|
|
|
|
--- |
|
|
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
|
|
target triple = "aarch64--"
|
|
define void @test_inserts_nonpow2() { ret void }
|
|
...
|
|
|
|
---
|
|
name: test_inserts_nonpow2
|
|
body: |
|
|
bb.0:
|
|
liveins: $x0, $x1, $x2
|
|
|
|
|
|
; CHECK-LABEL: name: test_inserts_nonpow2
|
|
; CHECK: [[C:%[0-9]+]]:_(s64) = COPY $x3
|
|
; CHECK: $x0 = COPY [[C]]
|
|
%0:_(s64) = COPY $x0
|
|
%1:_(s64) = COPY $x1
|
|
%2:_(s64) = COPY $x2
|
|
%3:_(s64) = COPY $x3
|
|
%4:_(s192) = G_MERGE_VALUES %0, %1, %2
|
|
%5:_(s192) = G_INSERT %4, %3, 0
|
|
%6:_(s64), %7:_(s64), %8:_(s64) = G_UNMERGE_VALUES %5
|
|
$x0 = COPY %6
|
|
RET_ReallyLR
|
|
...
|