diff options
author | Dan Gohman <gohman@apple.com> | 2008-09-14 17:21:12 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-09-14 17:21:12 +0000 |
commit | 8dae138d06df9cecbee421ef645d0b74f9ac13d7 (patch) | |
tree | 2261c78107eccfa0aaa6762421bc268d6c7bd627 /test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll | |
parent | e009180f2bbcf5edbe3b583936c37c4b3be2d082 (diff) | |
download | llvm-8dae138d06df9cecbee421ef645d0b74f9ac13d7.tar.gz llvm-8dae138d06df9cecbee421ef645d0b74f9ac13d7.tar.bz2 llvm-8dae138d06df9cecbee421ef645d0b74f9ac13d7.tar.xz |
Fix WriteAsOperand to not emit a leading space character. Adjust
its callers to emit a space character before calling it when a
space is needed.
This fixes several spurious whitespace issues in
ScalarEvolution's debug dumps. See the test changes for
examples.
This also fixes odd space-after-tab indentation in the output
for switch statements, and changes calls from being printed like
this:
call void @foo( i32 %x )
to this:
call void @foo(i32 %x)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll')
-rw-r--r-- | test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll b/test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll index 04cd289a7a..f8e1cfcd7f 100644 --- a/test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll +++ b/test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ -; RUN: -scalar-evolution-max-iterations=0 | grep -F "Exits: 20028" +; RUN: -scalar-evolution-max-iterations=0 | grep -F "Exits: 20028" ; PR2621 define i32 @a() nounwind { |