diff options
author | Alp Toker <alp@nuanti.com> | 2014-06-06 11:20:58 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-06-06 11:20:58 +0000 |
commit | 7ce5f025a385511e12f8446a65ad71df0272e57c (patch) | |
tree | 74bd24f821d42f91f6f8997112fa00256b474a67 /clang/test/Frontend/optimization-remark.c | |
parent | eae19460a75801781d3137a535741599a98fc807 (diff) | |
download | bcm5719-llvm-7ce5f025a385511e12f8446a65ad71df0272e57c.tar.gz bcm5719-llvm-7ce5f025a385511e12f8446a65ad71df0272e57c.zip |
Don't generate assembly in backend diagnostic tests
A leftover -S was generating unwanted output in the source tree overriding
-only flags that normally disable output.
This reverts commit r210323 and implements the proper fix.
Reported by Timur Iskhodzhanov!
llvm-svn: 210326
Diffstat (limited to 'clang/test/Frontend/optimization-remark.c')
-rw-r--r-- | clang/test/Frontend/optimization-remark.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Frontend/optimization-remark.c b/clang/test/Frontend/optimization-remark.c index d99f32d567f..ef7df618e0a 100644 --- a/clang/test/Frontend/optimization-remark.c +++ b/clang/test/Frontend/optimization-remark.c @@ -3,8 +3,8 @@ // always trigger the inliner, so it should be independent of the // optimization level. -// RUN: %clang_cc1 %s -Rpass=inline -Rpass-analysis=inline -Rpass-missed=inline -O0 -gline-tables-only -emit-llvm-only -verify -S -o /dev/null -// RUN: %clang_cc1 %s -DNDEBUG -Rpass=inline -emit-llvm-only -verify -S -o /dev/null +// RUN: %clang_cc1 %s -Rpass=inline -Rpass-analysis=inline -Rpass-missed=inline -O0 -gline-tables-only -emit-llvm-only -verify +// RUN: %clang_cc1 %s -DNDEBUG -Rpass=inline -emit-llvm-only -verify int foo(int x, int y) __attribute__((always_inline)); int foo(int x, int y) { return x + y; } |