brintos

brintos / llvm-project-archived public Read only

0
0
Text · 304 B · 2207ff5 Raw
12 lines · plain
1; RUN: opt < %s -passes=sccp -S | FileCheck %s2 3@0 = private unnamed_addr constant [2 x i32] [i32 -1, i32 1]4@"\01??_7A@@6B@" = unnamed_addr alias i32, getelementptr inbounds ([2 x i32], ptr @0, i32 0, i32 1)5 6; CHECK: ret i32 17 8define i32 @main() {9  %a = load i32, ptr @"\01??_7A@@6B@"10  ret i32 %a11}12