1
1
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2
2
; RUN: llc -mtriple=arm64-apple-ios7.0 -o - %s | FileCheck %s --check-prefix=CHECK
3
- ; RUN: llc -global-isel=1 -global-isel-abort=2 -mtriple=arm64-apple-ios7.0 -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK-GISEL
3
+ ; RUN: llc -global-isel=1 -global-isel-abort=2 -mtriple=arm64-apple-ios7.0 -o - %s | FileCheck %s --check-prefix=CHECK-GISEL
4
4
5
5
; CHECK-GISEL-NOT: warning: Instruction selection used fallback path for test_v8i8_pre_load
6
6
; CHECK-GISEL-NOT: warning: Instruction selection used fallback path for test_v8i8_post_load
620
620
; CHECK-GISEL-NOT: warning: Instruction selection used fallback path for load_single_extract_variable_index_i8
621
621
; CHECK-GISEL-NOT: warning: Instruction selection used fallback path for load_single_extract_variable_index_i16
622
622
; CHECK-GISEL-NOT: warning: Instruction selection used fallback path for load_single_extract_variable_index_i32
623
+ ; CHECK-GISEL-NOT: warning: Instruction selection used fallback path for load_single_extract_variable_index_v3i32_small_align
624
+ ; CHECK-GISEL-NOT: warning: Instruction selection used fallback path for load_single_extract_variable_index_v3i32_default_align
625
+ ; CHECK-GISEL-NOT: warning: Instruction selection used fallback path for load_single_extract_valid_const_index_v3i32
623
626
; CHECK-GISEL-NOT: warning: Instruction selection used fallback path for load_single_extract_variable_index_masked_i32
624
627
; CHECK-GISEL-NOT: warning: Instruction selection used fallback path for load_single_extract_variable_index_masked2_i32
625
628
@@ -13791,9 +13794,8 @@ define <16 x i8> @test_v16i8_post_imm_ld1r(ptr %bar, ptr %ptr) {
13791
13794
;
13792
13795
; CHECK-GISEL-LABEL: test_v16i8_post_imm_ld1r:
13793
13796
; CHECK-GISEL: ; %bb.0:
13794
- ; CHECK-GISEL-NEXT: ld1r.16b { v0 }, [x0]
13795
- ; CHECK-GISEL-NEXT: add x8, x0, #1
13796
- ; CHECK-GISEL-NEXT: str x8, [x1]
13797
+ ; CHECK-GISEL-NEXT: ld1r.16b { v0 }, [x0], #1
13798
+ ; CHECK-GISEL-NEXT: str x0, [x1]
13797
13799
; CHECK-GISEL-NEXT: ret
13798
13800
%tmp1 = load i8, ptr %bar
13799
13801
%tmp2 = insertelement <16 x i8> <i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef>, i8 %tmp1, i32 0
@@ -13826,9 +13828,8 @@ define <16 x i8> @test_v16i8_post_reg_ld1r(ptr %bar, ptr %ptr, i64 %inc) {
13826
13828
;
13827
13829
; CHECK-GISEL-LABEL: test_v16i8_post_reg_ld1r:
13828
13830
; CHECK-GISEL: ; %bb.0:
13829
- ; CHECK-GISEL-NEXT: ld1r.16b { v0 }, [x0]
13830
- ; CHECK-GISEL-NEXT: add x8, x0, x2
13831
- ; CHECK-GISEL-NEXT: str x8, [x1]
13831
+ ; CHECK-GISEL-NEXT: ld1r.16b { v0 }, [x0], x2
13832
+ ; CHECK-GISEL-NEXT: str x0, [x1]
13832
13833
; CHECK-GISEL-NEXT: ret
13833
13834
%tmp1 = load i8, ptr %bar
13834
13835
%tmp2 = insertelement <16 x i8> <i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef>, i8 %tmp1, i32 0
@@ -13861,9 +13862,8 @@ define <8 x i8> @test_v8i8_post_imm_ld1r(ptr %bar, ptr %ptr) {
13861
13862
;
13862
13863
; CHECK-GISEL-LABEL: test_v8i8_post_imm_ld1r:
13863
13864
; CHECK-GISEL: ; %bb.0:
13864
- ; CHECK-GISEL-NEXT: ld1r.8b { v0 }, [x0]
13865
- ; CHECK-GISEL-NEXT: add x8, x0, #1
13866
- ; CHECK-GISEL-NEXT: str x8, [x1]
13865
+ ; CHECK-GISEL-NEXT: ld1r.8b { v0 }, [x0], #1
13866
+ ; CHECK-GISEL-NEXT: str x0, [x1]
13867
13867
; CHECK-GISEL-NEXT: ret
13868
13868
%tmp1 = load i8, ptr %bar
13869
13869
%tmp2 = insertelement <8 x i8> <i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef>, i8 %tmp1, i32 0
@@ -13888,9 +13888,8 @@ define <8 x i8> @test_v8i8_post_reg_ld1r(ptr %bar, ptr %ptr, i64 %inc) {
13888
13888
;
13889
13889
; CHECK-GISEL-LABEL: test_v8i8_post_reg_ld1r:
13890
13890
; CHECK-GISEL: ; %bb.0:
13891
- ; CHECK-GISEL-NEXT: ld1r.8b { v0 }, [x0]
13892
- ; CHECK-GISEL-NEXT: add x8, x0, x2
13893
- ; CHECK-GISEL-NEXT: str x8, [x1]
13891
+ ; CHECK-GISEL-NEXT: ld1r.8b { v0 }, [x0], x2
13892
+ ; CHECK-GISEL-NEXT: str x0, [x1]
13894
13893
; CHECK-GISEL-NEXT: ret
13895
13894
%tmp1 = load i8, ptr %bar
13896
13895
%tmp2 = insertelement <8 x i8> <i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef, i8 undef>, i8 %tmp1, i32 0
0 commit comments