1 ; RUN: llc -mtriple=i686-windows-msvc < %s -o /dev/null
2 ; RUN: not --crash 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, ptr inalloca(i32) %b)
9 %b = alloca inalloca i32
11 call x86_thiscallcc i32 @f(i32 0, ptr inalloca(i32) %b)
15 ; CHECK: cannot use inalloca attribute on a register parameter