]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/CodeGen/X86/large-gep-scale.ll
[X86][AVX] Added (V)MOVDDUP / (V)MOVSLDUP / (V)MOVSHDUP memory folding + tests.
[opencl/llvm.git] / test / CodeGen / X86 / large-gep-scale.ll
1 ; RUN: llc < %s -march=x86 | FileCheck %s
2 ; PR5281
4 ; After scaling, this type doesn't fit in memory. Codegen should generate
5 ; correct addressing still.
7 ; CHECK: shll $2, %edx
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 }