1 ; RUN: llc < %s -fast-isel -verify-machineinstrs -mtriple=x86_64-apple-darwin10
2 ; RUN: llc < %s -fast-isel -verify-machineinstrs -mtriple=x86_64-pc-win32 | FileCheck %s -check-prefix=WIN32
3 ; RUN: llc < %s -fast-isel -verify-machineinstrs -mtriple=x86_64-pc-win64 | FileCheck %s -check-prefix=WIN64
5 ; Previously, this would cause an assert.
6 define i31 @t1(i31 %a, i31 %b, i31 %c) {
8 %add = add nsw i31 %b, %a
9 %add1 = add nsw i31 %add, %c
13 ; We don't handle the Windows CC, yet.
14 define i32 @foo(ptr %p) {
17 ; WIN32: movl (%rcx), %eax
19 ; WIN64: movl (%rdi), %eax
20 %0 = load i32, ptr %p, align 4