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
This commit is contained in:
Reid Spencer 2007-07-29 18:23:22 +00:00
parent 2dc6dc619c
commit 6551606a99

View File

@ -1,5 +1,5 @@
// RUN: %llvmgcc -S %s -o - -O | grep ashr // RUN: %llvmgcc -S %s -o - -O1 | grep ashr
// RUN: %llvmgcc -S %s -o - -O | not grep sdiv // RUN: %llvmgcc -S %s -o - -O1 | not grep sdiv
long long test(int *A, int *B) { long long test(int *A, int *B) {
return A-B; return A-B;