1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer %s -o - | FileCheck %s
5 define void @test_ashr() { ret void }
6 define void @test_ashr_i1() { ret void }
12 regBankSelected: false
13 tracksRegLiveness: true
15 - { id: 0, class: _, preferred-register: '' }
16 - { id: 1, class: _, preferred-register: '' }
17 - { id: 2, class: _, preferred-register: '' }
18 - { id: 3, class: _, preferred-register: '' }
19 - { id: 4, class: _, preferred-register: '' }
20 - { id: 5, class: _, preferred-register: '' }
21 - { id: 6, class: _, preferred-register: '' }
22 - { id: 7, class: _, preferred-register: '' }
23 - { id: 8, class: _, preferred-register: '' }
24 - { id: 9, class: _, preferred-register: '' }
25 - { id: 10, class: _, preferred-register: '' }
26 - { id: 11, class: _, preferred-register: '' }
31 ; CHECK-LABEL: name: test_ashr
32 ; CHECK: liveins: $rdi, $rsi
36 %2(s64) = G_ASHR %0, %1
40 %5(s32) = G_ASHR %3, %4
44 %8(s16) = G_ASHR %6, %7
48 %11(s8) = G_ASHR %9, %10
57 regBankSelected: false
58 tracksRegLiveness: true
60 - { id: 0, class: _, preferred-register: '' }
61 - { id: 1, class: _, preferred-register: '' }
62 - { id: 2, class: _, preferred-register: '' }
63 - { id: 3, class: _, preferred-register: '' }
64 - { id: 4, class: _, preferred-register: '' }
69 ; CHECK-LABEL: name: test_ashr_i1
70 ; CHECK: liveins: $rdi, $rsi
76 %4(s1) = G_ASHR %2, %3