Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/anyregcc-crash.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 54457678186b |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
1 ; RUN: not llc < %s -mtriple=x86_64-apple-darwin 2>&1 | FileCheck %s | |
2 ; | |
3 ; Check that misuse of anyregcc results in a compile time error. | |
4 | |
5 ; CHECK: LLVM ERROR: ran out of registers during register allocation | |
6 define i64 @anyreglimit(i64 %v1, i64 %v2, i64 %v3, i64 %v4, i64 %v5, i64 %v6, | |
7 i64 %v7, i64 %v8, i64 %v9, i64 %v10, i64 %v11, i64 %v12, | |
8 i64 %v13, i64 %v14, i64 %v15, i64 %v16) { | |
9 entry: | |
10 %result = tail call anyregcc i64 (i32, i32, i8*, i32, ...)* @llvm.experimental.patchpoint.i64(i32 12, i32 15, i8* inttoptr (i64 0 to i8*), i32 16, | |
11 i64 %v1, i64 %v2, i64 %v3, i64 %v4, i64 %v5, i64 %v6, | |
12 i64 %v7, i64 %v8, i64 %v9, i64 %v10, i64 %v11, i64 %v12, | |
13 i64 %v13, i64 %v14, i64 %v15, i64 %v16) | |
14 ret i64 %result | |
15 } | |
16 | |
17 declare i64 @llvm.experimental.patchpoint.i64(i32, i32, i8*, i32, ...) |