[flang] Fix length handling in character kind implicit conversion (#74586)
[llvm-project.git] / polly / test / ScopInfo / do-not-model-error-block-accesses.ll
blob997e0d4b37cf05425ce2ef16c1f595f14702438f
1 ; RUN: opt %loadPolly -polly-print-scops -disable-output < %s
3 ; Check that we do not crash on this input. Earlier this indeed crashed as
4 ; we tried to model the access functions in an error block.
6 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
8 ; Function Attrs: nounwind uwtable
9 define void @FORMAT3_4() #0 {
10 entry:
11   br label %entry.split
13 entry.split:                                      ; preds = %entry
14   br i1 false, label %if.end.38, label %if.else
16 if.else:                                          ; preds = %entry.split
17   call void (i32, i32, ptr, ...) @BYTES_TO_BITS(i32 undef, i32 1, ptr undef) #2
18   %0 = load i32, ptr null, align 4
19   br label %if.end.38
21 if.end.38:                                        ; preds = %if.else, %entry.split
22   unreachable
25 declare void @BYTES_TO_BITS(...) #1
27 attributes #0 = { nounwind uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="haswell" "target-features"="+aes,+avx,+avx2,+bmi,+bmi2,+cmov,+cx16,+f16c,+fma,+fsgsbase,+fxsr,+hle,+lzcnt,+mmx,+movbe,+pclmul,+popcnt,+rdrnd,+rtm,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+xsave,+xsaveopt,-adx,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512pf,-avx512vl,-fma4,-prfchw,-rdseed,-sha,-sse4a,-tbm,-xop,-xsavec,-xsaves" "unsafe-fp-math"="false" "use-soft-float"="false" }
28 attributes #1 = { "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="haswell" "target-features"="+aes,+avx,+avx2,+bmi,+bmi2,+cmov,+cx16,+f16c,+fma,+fsgsbase,+fxsr,+hle,+lzcnt,+mmx,+movbe,+pclmul,+popcnt,+rdrnd,+rtm,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+xsave,+xsaveopt,-adx,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512pf,-avx512vl,-fma4,-prfchw,-rdseed,-sha,-sse4a,-tbm,-xop,-xsavec,-xsaves" "unsafe-fp-math"="false" "use-soft-float"="false" }
29 attributes #2 = { nounwind }
31 !llvm.ident = !{!0}
33 !0 = !{!"clang version 3.8.0"}