blob: cd2d609b535607e6238e162a671df78cda7a0b17 [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -mtriple=i386-pc-linux-gnu -relocation-model=pic -disable-fp-elim
2; RUN: llc < %s -mtriple=i386-pc-linux-gnu -relocation-model=pic -disable-fp-elim -schedule-livein-copies | not grep {Number of register spills}
Evan Cheng676dd7c2008-03-11 07:19:34 +00003; PR2134
4
5declare fastcc i8* @w_addchar(i8*, i32*, i32*, i8 signext ) nounwind
6
7define x86_stdcallcc i32 @parse_backslash(i8** inreg %word, i32* inreg %word_length, i32* inreg %max_length) nounwind {
8entry:
9 %tmp6 = load i8* null, align 1 ; <i8> [#uses=1]
10 br label %bb13
11bb13: ; preds = %entry
12 %tmp26 = call fastcc i8* @w_addchar( i8* null, i32* %word_length, i32* %max_length, i8 signext %tmp6 ) nounwind ; <i8*> [#uses=1]
13 store i8* %tmp26, i8** %word, align 4
14 ret i32 0
15}