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
/
2007-09-27-ComplexIntCompare.c
diff --git
a/test/FrontendC/2007-09-27-ComplexIntCompare.c
b/test/FrontendC/2007-09-27-ComplexIntCompare.c
index ee9a85c2454d1a273f2fc460ada2b94ffccf1a5e..50626e548c6166701cd1eccf772c483b818f6538 100644
(file)
--- a/
test/FrontendC/2007-09-27-ComplexIntCompare.c
+++ b/
test/FrontendC/2007-09-27-ComplexIntCompare.c
@@
-1,5
+1,8
@@
// RUN: %llvmgcc -S %s -o -
// PR1708
+
+#include <stdlib.h>
+
struct s { _Complex unsigned short x; };
struct s gs = { 100 + 200i };
struct s __attribute__((noinline)) foo (void) { return gs; }