diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Assembler/2009-05-22-CC.ll | 9 | ||||
-rw-r--r-- | test/Verifier/2009-05-22-CC.ll | 11 |
2 files changed, 0 insertions, 20 deletions
diff --git a/test/Assembler/2009-05-22-CC.ll b/test/Assembler/2009-05-22-CC.ll deleted file mode 100644 index ba80d64..0000000 --- a/test/Assembler/2009-05-22-CC.ll +++ /dev/null @@ -1,9 +0,0 @@ -; RUN: llvm-as < %s - -; Verify that calls with correct calling conv are accepted -declare x86_stdcallcc i32 @re_string_construct(i8* inreg %pstr, i8* inreg %str, i32 inreg %len, i8* %trans, i32 %icase, i8* %dfa); -define void @main() { -entry: - %0 = call x86_stdcallcc i32 (...)* bitcast (i32 (i8*, i8*, i32, i8*, i32, i8*)* @re_string_construct to i32 (...)*)(i32 inreg 0, i32 inreg 0, i32 inreg 0, i32 0, i32 0, i8* inttoptr (i32 673194176 to i8*)); - ret void -} diff --git a/test/Verifier/2009-05-22-CC.ll b/test/Verifier/2009-05-22-CC.ll deleted file mode 100644 index 7775ded..0000000 --- a/test/Verifier/2009-05-22-CC.ll +++ /dev/null @@ -1,11 +0,0 @@ -; RUN: not llvm-as < %s |& grep {Calling convention does not match function signature} -; PR 4239 - -; Verify that the calling convention on the call instruction matches the -; declared calling convention -declare x86_stdcallcc i32 @re_string_construct(i8* inreg %pstr, i8* inreg %str, i32 inreg %len, i8* %trans, i32 %icase, i8* %dfa); -define void @main() { -entry: - %0 = call i32 (...)* bitcast (i32 (i8*, i8*, i32, i8*, i32, i8*)* @re_string_construct to i32 (...)*)(i32 inreg 0, i32 inreg 0, i32 inreg 0, i32 0, i32 0, i8* inttoptr (i32 673194176 to i8*)) - ret void -} |