[llvm-commits] CVS: llvm/test/Regression/CFrontend/2006-12-14-ordered_expr.c
Chris Lattner
sabre at nondot.org
Thu Dec 14 22:49:35 PST 2006
Changes in directory llvm/test/Regression/CFrontend:
2006-12-14-ordered_expr.c added (r1.1)
---
Log message:
New testcase for llvm-gcc bugfix
---
Diffs of the changes: (+7 -0)
2006-12-14-ordered_expr.c | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/Regression/CFrontend/2006-12-14-ordered_expr.c
diff -c /dev/null llvm/test/Regression/CFrontend/2006-12-14-ordered_expr.c:1.1
*** /dev/null Fri Dec 15 00:49:30 2006
--- llvm/test/Regression/CFrontend/2006-12-14-ordered_expr.c Fri Dec 15 00:49:20 2006
***************
*** 0 ****
--- 1,7 ----
+ // RUN: %llvmgcc -O3 -S %s -o - | grep llvm.isunordered &&
+ // RUN: %llvmgcc -O3 -S %s -o - | grep xor
+
+ int test2(float X, float Y) {
+ return !__builtin_isunordered(X, Y);
+ }
+
More information about the llvm-commits
mailing list