projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
call optimize_cf() to delete dead-code that might arise after cond_eval
[libfirm]
/
ir
/
be
/
test
/
mul2n.c
1
/* should produce only ONE mul, no conv's */
2
#include <stdio.h>
3
4
int a = 0x80000000;
5
6
int main(void)
7
{
8
unsigned long long x = 3 * (unsigned long long)a;
9
printf("%lld\n", x);
10
x = (unsigned long long)a * (unsigned long long)a;
11
printf("%lld\n", x);
12
return 0;
13
}