[llvm-commits] [llvm] r39882 - /llvm/trunk/test/CFrontend/exact-div-expr.c

Chris Lattner sabre at nondot.org
Sun Jul 15 15:30:34 PDT 2007


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;
+}





More information about the llvm-commits mailing list