projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Transform: "icmp eq (trunc (lshr(X, cst1)), cst" to "icmp (and X, mask), cst"
[oota-llvm.git]
/
test
/
FrontendC
/
2003-11-26-PointerShift.c
diff --git
a/test/FrontendC/2003-11-26-PointerShift.c
b/test/FrontendC/2003-11-26-PointerShift.c
index 079f6903a233d290462c83c33b756b6517afd691..6b5205a6e7ed07bd8521a7d3ab192d6fe3cc861b 100644
(file)
--- a/
test/FrontendC/2003-11-26-PointerShift.c
+++ b/
test/FrontendC/2003-11-26-PointerShift.c
@@
-1,4
+1,4
@@
-// RUN: %llvmgcc -S %s -o - | llvm-as -
f -
o /dev/null
+// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) {
if (2 & (unsigned long) buff) result += 1;