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 | 7717ff5368ed5c442df34428c95dc3b02f4d406a (patch) | |
tree | 13a41cf59eb752c07f33f6442271af1bb61a7e30 /llvm | |
parent | ddf5a1d7a6be3d55bcd65c28758cd392dc9a87b7 (diff) | |
download | bcm5719-llvm-7717ff5368ed5c442df34428c95dc3b02f4d406a.tar.gz bcm5719-llvm-7717ff5368ed5c442df34428c95dc3b02f4d406a.zip |
Be explicit about which level of optimization is being asked for. The -O option
is equivalent to -O1.
llvm-svn: 40581
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/test/CFrontend/exact-div-expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CFrontend/exact-div-expr.c b/llvm/test/CFrontend/exact-div-expr.c index 03626c92652..9dce922f953 100644 --- a/llvm/test/CFrontend/exact-div-expr.c +++ b/llvm/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; |