comparison polly/test/CodeGen/invariant_cannot_handle_void.ll @ 252:1f2b6ac9f198 llvm-original

LLVM16-1
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 09:04:13 +0900
parents c4bab56944e8
children
comparison
equal deleted inserted replaced
237:c80f45b162ad 252:1f2b6ac9f198
15 ; SCOP: i16 MemRef_buff[*]; // Element size 2 15 ; SCOP: i16 MemRef_buff[*]; // Element size 2
16 ; SCOP: i32 MemRef_key_0; // Element size 4 16 ; SCOP: i32 MemRef_key_0; // Element size 4
17 ; SCOP: } 17 ; SCOP: }
18 ; 18 ;
19 ; CHECK-LABEL: polly.preload.begin: 19 ; CHECK-LABEL: polly.preload.begin:
20 ; CHECK-NEXT: %polly.access.cast.buff = bitcast i8* %buff to i16* 20 ; CHECK-NEXT: %polly.access.buff = getelementptr i16, ptr %buff, i64 31
21 ; CHECK-NEXT: %polly.access.buff = getelementptr i16, i16* %polly.access.cast.buff, i64 31 21 ; CHECK-NEXT: %polly.access.buff.load = load i32, ptr %polly.access.buff, align 4
22 ; CHECK-NEXT: %polly.access.buff.cast = bitcast i16* %polly.access.buff to i32* 22 ; CHECK-NEXT: store i32 %polly.access.buff.load, ptr %tmp1.preload.s2a
23 ; CHECK-NEXT: %polly.access.buff.load = load i32, i32* %polly.access.buff.cast, align 4
24 ; CHECK-NEXT: store i32 %polly.access.buff.load, i32* %tmp1.preload.s2a
25 ; 23 ;
26 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 24 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
27 25
28 ; Function Attrs: nounwind uwtable 26 ; Function Attrs: nounwind uwtable
29 define void @sudecrypt(i8* %buff) #0 { 27 define void @sudecrypt(ptr %buff) #0 {
30 entry: 28 entry:
31 br i1 undef, label %cleanup, label %if.end 29 br i1 undef, label %cleanup, label %if.end
32 30
33 if.end: ; preds = %entry 31 if.end: ; preds = %entry
34 br i1 undef, label %if.end.6, label %if.then.5 32 br i1 undef, label %if.end.6, label %if.then.5
35 33
36 if.then.5: ; preds = %if.end 34 if.then.5: ; preds = %if.end
37 unreachable 35 unreachable
38 36
39 if.end.6: ; preds = %if.end 37 if.end.6: ; preds = %if.end
40 %add.ptr = getelementptr inbounds i8, i8* %buff, i64 62 38 %add.ptr = getelementptr inbounds i8, ptr %buff, i64 62
41 %tmp = bitcast i8* %add.ptr to i32* 39 %tmp1 = load i32, ptr %add.ptr, align 4, !tbaa !1
42 %tmp1 = load i32, i32* %tmp, align 4, !tbaa !1
43 br i1 false, label %if.then.13, label %switch.early.test 40 br i1 false, label %if.then.13, label %switch.early.test
44 41
45 switch.early.test: ; preds = %if.end.6 42 switch.early.test: ; preds = %if.end.6
46 switch i32 0, label %if.end.16 [ 43 switch i32 0, label %if.end.16 [
47 i32 956, label %if.then.13 44 i32 956, label %if.then.13