projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Transform: "icmp eq (trunc (lshr(X, cst1)), cst" to "icmp (and X, mask), cst"
[oota-llvm.git]
/
test
/
FrontendC
/
2007-02-16-VoidPtrDiff.c
1
// RUN: %llvmgcc %s -S -o -
2
3
void foo(void *ptr, int test) {
4
(ptr - ((void *) test + 0x2000));
5
}