diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-07-29 18:23:22 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-07-29 18:23:22 +0000 |
commit | 6551606a99bfa342466432b72fdbe8f0c85c1282 (patch) | |
tree | ec49ec02b084e5d8a2b92a7b948942443204f6a4 | |
parent | 2dc6dc619c89c739550a0fcab96a9f7eac3d9f15 (diff) |
Be explicit about which level of optimization is being asked for. The -O option
is equivalent to -O1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40581 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CFrontend/exact-div-expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CFrontend/exact-div-expr.c b/test/CFrontend/exact-div-expr.c index 03626c9265..9dce922f95 100644 --- a/test/CFrontend/exact-div-expr.c +++ b/test/CFrontend/exact-div-expr.c @@ -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; |