forked from OSchip/llvm-project
Fix the type of __builtin_expect, from Ed Schouten!
llvm-svn: 85666
This commit is contained in:
parent
249c121883
commit
bff4e7d180
|
@ -329,7 +329,7 @@ BUILTIN(__builtin___printf_chk, "iicC*.", "Fp:1:")
|
|||
BUILTIN(__builtin___vfprintf_chk, "iP*icC*a", "FP:2:")
|
||||
BUILTIN(__builtin___vprintf_chk, "iicC*a", "FP:1:")
|
||||
|
||||
BUILTIN(__builtin_expect, "iii" , "nc")
|
||||
BUILTIN(__builtin_expect, "LiLiLi" , "nc")
|
||||
BUILTIN(__builtin_prefetch, "vvC*.", "nc")
|
||||
BUILTIN(__builtin_abort, "v", "Fnr")
|
||||
BUILTIN(__builtin_trap, "v", "nr")
|
||||
|
|
|
@ -48,3 +48,5 @@ extern int f();
|
|||
int h0 = __builtin_types_compatible_p(int, float);
|
||||
//int h1 = __builtin_choose_expr(1, 10, f());
|
||||
//int h2 = __builtin_expect(0, 0);
|
||||
extern long int bi0;
|
||||
extern __typeof__(__builtin_expect(0, 0)) bi0;
|
||||
|
|
Loading…
Reference in New Issue