blob: be7e083e6a671f5d9e69deec9a1ccb74627cd4e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
; RUN: opt < %s -sccp -S | FileCheck %s
@0 = private unnamed_addr constant [2 x i32] [i32 -1, i32 1]
@"\01??_7A@@6B@" = unnamed_addr alias i32, getelementptr inbounds ([2 x i32], [2 x i32]* @0, i32 0, i32 1)
; CHECK: ret i32 1
define i32 @main() {
%a = load i32, i32* @"\01??_7A@@6B@"
ret i32 %a
}
|