brintos

brintos / llvm-project-archived public Read only

0
0
Text · 351 B · 6e6bd46 Raw
11 lines · plain
1; RUN: opt < %s -passes=instcombine -S | FileCheck %s2; CHECK: addrspacecast3 4@base = internal unnamed_addr addrspace(3) global [16 x i32] zeroinitializer, align 165declare void @foo(ptr)6 7define void @test() nounwind {8  call void @foo(ptr getelementptr (i32, ptr addrspacecast (ptr addrspace(3) @base to ptr), i64 2147483647)) nounwind9  ret void10}11