1 ; RUN: llc -mtriple=i686-windows-msvc < %s -o /dev/null
2 ; RUN: not llc -mtriple=x86_64-windows-msvc %s -o /dev/null 2>&1 | FileCheck %s
4 ; This will compile successfully on x86 but not x86_64, because %b will become a
7 declare x86_thiscallcc i32 @f(i32 %a, i32* inalloca %b)
9 %b = alloca inalloca i32
11 call x86_thiscallcc i32 @f(i32 0, i32* inalloca %b)
15 ; CHECK: cannot use inalloca attribute on a register parameter