projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc6dc6
)
Be explicit about which level of optimization is being asked for. The -O option
author
Reid Spencer
<rspencer@reidspencer.com>
Sun, 29 Jul 2007 18:23:22 +0000
(18:23 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sun, 29 Jul 2007 18:23:22 +0000
(18:23 +0000)
is equivalent to -O1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40581
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CFrontend/exact-div-expr.c
patch
|
blob
|
history
diff --git
a/test/CFrontend/exact-div-expr.c
b/test/CFrontend/exact-div-expr.c
index 03626c926528c31d811c27d463f0393d3225fec4..9dce922f95325752841ab75d40fe90b731885bdc 100644
(file)
--- 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 - -O
1
| grep ashr
+// RUN: %llvmgcc -S %s -o - -O
1
| not grep sdiv
long long test(int *A, int *B) {
return A-B;