[X86] Don't pass a scale value of 0 to scatter/gather intrinsics. This causes the...
[oota-llvm.git] / test / CodeGen / X86 / fast-cc-merge-stack-adj.ll
1 ; RUN: llc < %s -mcpu=generic -march=x86 -x86-asm-syntax=intel | FileCheck %s
2 ; CHECK: add esp, 8
3
4 target triple = "i686-pc-linux-gnu"
5
6 declare x86_fastcallcc void @func(i32*, i64 inreg)
7
8 define x86_fastcallcc void @caller(i32, i64) {
9         %X = alloca i32         ; <i32*> [#uses=1]
10         call x86_fastcallcc void @func( i32* %X, i64 0 )
11         ret void
12 }
13