1 ; 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 9 define 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 } 13