brintos

brintos / llvm-project-archived public Read only

0
0
Text · 297 B · 3847b0b Raw
13 lines · plain
1; RUN: llvm-extract -func foo -keep-const-init -S < %s | FileCheck %s2; RUN: llvm-extract -func foo -S < %s | FileCheck %s --check-prefix=CHECK23 4; CHECK: @cv = constant i32 05; CHECK2: @cv = external constant i326 7@cv = constant i32 08 9define i32 @foo() {10  %v = load i32, ptr @cv11  ret i32 %v12}13