brintos

brintos / llvm-project-archived public Read only

0
0
Text · 511 B · 90f439a Raw
12 lines · plain
1; RUN: opt -aa-pipeline=basic-aa -passes=attributor -S < %s | FileCheck %s --check-prefixes=CHECK,IS__TUNIT____2; RUN: opt -aa-pipeline=basic-aa -passes=attributor-cgscc -S < %s | FileCheck %s --check-prefixes=CHECK,IS__CGSCC____3 4%struct.RT = type { i8, [10 x [20 x i32]], i8 }5%struct.ST = type { i32, double, %struct.RT }6 7define ptr @foo(ptr %s) nounwind uwtable readnone optsize ssp {8entry:9  %arrayidx = getelementptr inbounds %struct.ST, ptr %s, i64 1, i32 2, i32 1, i64 5, i64 1310  ret ptr %arrayidx11}12