summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/invariant.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-08 18:03:05 +0000
committerDan Gohman <gohman@apple.com>2010-04-08 18:03:05 +0000
commit29e13e0c18de57209170d5cd2c3dd1311f5e2a40 (patch)
tree03ff417a2ed8bb22f15138139231ecee88ac9158 /test/Transforms/InstCombine/invariant.ll
parent88ccf742a3a0d9ee7b68c767ea35292e1605f0bc (diff)
downloadllvm-29e13e0c18de57209170d5cd2c3dd1311f5e2a40.tar.gz
llvm-29e13e0c18de57209170d5cd2c3dd1311f5e2a40.tar.bz2
llvm-29e13e0c18de57209170d5cd2c3dd1311f5e2a40.tar.xz
Print empty structs as {} rather than { }.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/invariant.ll')
-rw-r--r--test/Transforms/InstCombine/invariant.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/InstCombine/invariant.ll b/test/Transforms/InstCombine/invariant.ll
index c67ad33195..3832380226 100644
--- a/test/Transforms/InstCombine/invariant.ll
+++ b/test/Transforms/InstCombine/invariant.ll
@@ -3,13 +3,13 @@
declare void @g(i8*)
-declare { }* @llvm.invariant.start(i64, i8* nocapture) nounwind readonly
+declare {}* @llvm.invariant.start(i64, i8* nocapture) nounwind readonly
define i8 @f() {
%a = alloca i8 ; <i8*> [#uses=4]
store i8 0, i8* %a
- %i = call { }* @llvm.invariant.start(i64 1, i8* %a) ; <{ }*> [#uses=0]
- ; CHECK: call { }* @llvm.invariant.start
+ %i = call {}* @llvm.invariant.start(i64 1, i8* %a) ; <{}*> [#uses=0]
+ ; CHECK: call {}* @llvm.invariant.start
call void @g(i8* %a)
%r = load i8* %a ; <i8> [#uses=1]
ret i8 %r