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

Reid Spencer rspencer at reidspencer.com
Sun Jul 29 11:23:22 PDT 2007


Author: reid
Date: Sun Jul 29 13:23:22 2007
New Revision: 40581

URL: http://llvm.org/viewvc/llvm-project?rev=40581&view=rev
Log:
Be explicit about which level of optimization is being asked for. The -O option
is equivalent to -O1.

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

Modified: llvm/trunk/test/CFrontend/exact-div-expr.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/exact-div-expr.c?rev=40581&r1=40580&r2=40581&view=diff

==============================================================================
--- llvm/trunk/test/CFrontend/exact-div-expr.c (original)
+++ llvm/trunk/test/CFrontend/exact-div-expr.c Sun Jul 29 13:23:22 2007
@@ -1,5 +1,5 @@
-// RUN: %llvmgcc -S %s -o - -O | grep ashr
-// RUN: %llvmgcc -S %s -o - -O | not grep sdiv
+// RUN: %llvmgcc -S %s -o - -O1 | grep ashr
+// RUN: %llvmgcc -S %s -o - -O1 | not grep sdiv
 
 long long test(int *A, int *B) {
   return A-B;





More information about the llvm-commits mailing list