Author: lattner
Date: Sun Jul 15 17:30:34 2007
New Revision: 39882

URL: http://llvm.org/viewvc/llvm-project?rev=39882&view=rev
Log:
new testcase


Added:
    llvm/trunk/test/CFrontend/exact-div-expr.c

Added: llvm/trunk/test/CFrontend/exact-div-expr.c
URL: 
http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/exact-div-expr.c?rev=39882&view=auto

==============================================================================
--- llvm/trunk/test/CFrontend/exact-div-expr.c (added)
+++ llvm/trunk/test/CFrontend/exact-div-expr.c Sun Jul 15 17:30:34 2007
@@ -0,0 +1,6 @@
+// RUN: %llvmgcc -S %s -o - -O | grep ashr
+// RUN: %llvmgcc -S %s -o - -O | not grep sdiv
+
+int test(int *A, int *B) {
+  return A-B;
+}


_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to