llvm-project

Форк
0
/
phi_in_regionstmt.ll 
63 строки · 3.5 Кб
1
; RUN: opt %loadNPMPolly "-passes=scop(print<polly-simplify>)" -disable-output -aa-pipeline=basic-aa < %s | FileCheck %s -match-full-lines
2
;
3
; The PHINode %cond91.sink.sink.us.sink.6 is in the middle of a region
4
; statement.
5
; Check that we are not expect a MemoryKind::PHI access for it, and no
6
; assertion guarding querying for it.
7
;
8
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
9

10
%struct.pic_parameter_set_rbsp_t.3.45.87.129.192.255.465.927.969.990.1029 = type { i32, i32, i32, i32, i32, i32, [8 x i32], [6 x [16 x i32]], [2 x [64 x i32]], [6 x i32], [2 x i32], i32, i32, i32, [8 x i32], [8 x i32], [8 x i32], i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
11

12
@quant8_intra_default = external global [64 x i32], align 16
13
@quant_org = external global [16 x i32], align 16
14
@qmatrix = external local_unnamed_addr global [8 x ptr], align 16
15

16
; Function Attrs: nounwind uwtable
17
define void @AssignQuantParam(ptr %pps) local_unnamed_addr #0 {
18
entry:
19
  br label %entry.split
20

21
entry.split:                                      ; preds = %entry
22
  %pic_scaling_matrix_present_flag = getelementptr inbounds %struct.pic_parameter_set_rbsp_t.3.45.87.129.192.255.465.927.969.990.1029, ptr %pps, i64 0, i32 5
23
  %0 = load i32, ptr %pic_scaling_matrix_present_flag, align 4, !tbaa !1
24
  %tobool = icmp eq i32 %0, 0
25
  br i1 %tobool, label %land.lhs.true, label %if.else
26

27
land.lhs.true:                                    ; preds = %entry.split
28
  store ptr @quant_org, ptr getelementptr inbounds ([8 x ptr], ptr @qmatrix, i64 0, i64 4), align 16, !tbaa !7
29
  br label %if.end161
30

31
if.else:                                          ; preds = %entry.split
32
  br label %if.else121.us.6
33

34
if.end161:                                        ; preds = %if.else121.us.7, %land.lhs.true
35
  ret void
36

37
if.else121.us.6:                                  ; preds = %if.else
38
  %arrayidx80.us.6 = getelementptr inbounds %struct.pic_parameter_set_rbsp_t.3.45.87.129.192.255.465.927.969.990.1029, ptr %pps, i64 0, i32 6, i64 6
39
  br i1 false, label %if.else121.us.7, label %if.else135.us.6
40

41
if.else135.us.6:                                  ; preds = %if.else121.us.6
42
  br label %if.else121.us.7
43

44
if.else121.us.7:                                  ; preds = %if.else135.us.6, %if.else121.us.6
45
  %cond91.sink.sink.us.sink.6 = phi ptr [ undef, %if.else135.us.6 ], [ @quant8_intra_default, %if.else121.us.6 ]
46
  br label %if.end161
47
}
48

49
attributes #0 = { nounwind uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
50

51
!llvm.ident = !{!0}
52

53
!0 = !{!"clang version 6.0.0 (trunk 308961)"}
54
!1 = !{!2, !3, i64 20}
55
!2 = !{!"", !3, i64 0, !5, i64 4, !5, i64 8, !3, i64 12, !3, i64 16, !3, i64 20, !3, i64 24, !3, i64 56, !3, i64 440, !3, i64 952, !3, i64 976, !3, i64 984, !5, i64 988, !5, i64 992, !3, i64 996, !3, i64 1028, !3, i64 1060, !3, i64 1092, !5, i64 1096, !5, i64 1100, !6, i64 1104, !5, i64 1112, !5, i64 1116, !3, i64 1120, !5, i64 1124, !5, i64 1128, !5, i64 1132, !5, i64 1136, !5, i64 1140, !3, i64 1144, !3, i64 1148, !3, i64 1152}
56
!3 = !{!"omnipotent char", !4, i64 0}
57
!4 = !{!"Simple C/C++ TBAA"}
58
!5 = !{!"int", !3, i64 0}
59
!6 = !{!"any pointer", !3, i64 0}
60
!7 = !{!6, !6, i64 0}
61

62

63
; CHECK: SCoP could not be simplified
64

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.