1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple ppc64le-linux -ppc-asm-full-reg-names -global-isel -o - < %s \
5 define i8 @test_addi8(i8 %a, i8 %b) {
6 ; CHECK-LABEL: test_addi8:
8 ; CHECK-NEXT: add r3, r3, r4
14 define i16 @test_addi16(i16 %a, i16 %b) {
15 ; CHECK-LABEL: test_addi16:
17 ; CHECK-NEXT: add r3, r3, r4
23 define i32 @test_addi32(i32 %a, i32 %b) {
24 ; CHECK-LABEL: test_addi32:
26 ; CHECK-NEXT: add r3, r3, r4
32 define i64 @test_addi64(i64 %a, i64 %b) {
33 ; CHECK-LABEL: test_addi64:
35 ; CHECK-NEXT: add r3, r3, r4
41 define i8 @test_subi8(i8 %a, i8 %b) {
42 ; CHECK-LABEL: test_subi8:
44 ; CHECK-NEXT: sub r3, r3, r4
50 define i16 @test_subi16(i16 %a, i16 %b) {
51 ; CHECK-LABEL: test_subi16:
53 ; CHECK-NEXT: sub r3, r3, r4
59 define i32 @test_subi32(i32 %a, i32 %b) {
60 ; CHECK-LABEL: test_subi32:
62 ; CHECK-NEXT: sub r3, r3, r4
68 define i64 @test_subi64(i64 %a, i64 %b) {
69 ; CHECK-LABEL: test_subi64:
71 ; CHECK-NEXT: sub r3, r3, r4