summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2014-08-30 17:07:55 +0000
committerJordan Rose <jordan_rose@apple.com>2014-08-30 17:07:55 +0000
commit88eb534517a3fbd4104bf788518e783e68d99bd9 (patch)
treeeaad71749e2e6d923d42046ef4049deffb833834 /llvm/test/Bitcode
parentbf3e32705a0985dd41121a0486a2870200cbaaee (diff)
downloadbcm5719-llvm-88eb534517a3fbd4104bf788518e783e68d99bd9.tar.gz
bcm5719-llvm-88eb534517a3fbd4104bf788518e783e68d99bd9.zip
Teach llvm-bcanalyzer to use one stream's BLOCKINFO to read another stream.
This allows streams that only use BLOCKINFO for debugging purposes to omit the block entirely. As long as another stream is available with the correct BLOCKINFO, the first stream can still be analyzed and dumped. As part of this commit, BitstreamReader gets a move constructor and move assignment operator, as well as a takeBlockInfo method. llvm-svn: 216826
Diffstat (limited to 'llvm/test/Bitcode')
-rw-r--r--llvm/test/Bitcode/function-encoding-rel-operands.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/function-encoding-rel-operands.ll b/llvm/test/Bitcode/function-encoding-rel-operands.ll
index 08e3fc01805..24d6d808286 100644
--- a/llvm/test/Bitcode/function-encoding-rel-operands.ll
+++ b/llvm/test/Bitcode/function-encoding-rel-operands.ll
@@ -48,3 +48,5 @@ entry:
%2 = icmp eq i32 %1, %a
ret i1 %2
}
+
+; CHECK: Stream type: LLVM IR
OpenPOWER on IntegriCloud