aboutsummaryrefslogtreecommitdiffstats
path: root/test/Analysis/LoopInfo
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-09-14 17:21:12 +0000
committerDan Gohman <gohman@apple.com>2008-09-14 17:21:12 +0000
commit8dae138d06df9cecbee421ef645d0b74f9ac13d7 (patch)
tree2261c78107eccfa0aaa6762421bc268d6c7bd627 /test/Analysis/LoopInfo
parente009180f2bbcf5edbe3b583936c37c4b3be2d082 (diff)
downloadexternal_llvm-8dae138d06df9cecbee421ef645d0b74f9ac13d7.zip
external_llvm-8dae138d06df9cecbee421ef645d0b74f9ac13d7.tar.gz
external_llvm-8dae138d06df9cecbee421ef645d0b74f9ac13d7.tar.bz2
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/LoopInfo')
-rw-r--r--test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll b/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll
index a3da523..48f4cfb 100644
--- a/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll
+++ b/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