blob: 143294e8b07f244e888f5846d23abffdf7fe5a28 [file] [log] [blame]
Dan Gohman7abbd042009-10-23 17:57:43 +00001; RUN: llc < %s -march=x86 | FileCheck %s
2; PR5281
3
4; After scaling, this type doesn't fit in memory. Codegen should generate
5; correct addressing still.
6
7; CHECK: shll $2, %edx
8
9define fastcc i32* @_ada_smkr([2147483647 x i32]* %u, i32 %t) nounwind {
10 %x = getelementptr [2147483647 x i32]* %u, i32 %t, i32 0
11 ret i32* %x
12}