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 | 81313fd8d1e828a403100e417ea961852ca29d7a (patch) | |
tree | 295405ce69b5bc73f73bb071410fc30d48295604 /llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll | |
parent | c0d712d9ed7ba899518d6f8d96b7781953a17fc8 (diff) | |
download | bcm5719-llvm-81313fd8d1e828a403100e417ea961852ca29d7a.tar.gz bcm5719-llvm-81313fd8d1e828a403100e417ea961852ca29d7a.zip |
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)
llvm-svn: 56196
Diffstat (limited to 'llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll')
-rw-r--r-- | llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll b/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll index a3da5232bb8..48f4cfbf78e 100644 --- a/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll +++ b/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll @@ -2,7 +2,7 @@ ; not a child of the loopentry.6 loop. ; ; RUN: llvm-as < %s | opt -analyze -loops | \ -; RUN: grep {^ Loop Containing: %loopentry.7} +; RUN: grep {^ Loop Containing: %loopentry.7} define void @getAndMoveToFrontDecode() { br label %endif.2 |