summaryrefslogtreecommitdiff
path: root/test/Other
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-16 14:39:19 +0000
committerDan Gohman <gohman@apple.com>2010-08-16 14:39:19 +0000
commit9883b95a2bff097ec6d0f34af1ddea22bf29b6c6 (patch)
treec239e752e119a81a7c4e40e27d24fa2b479bc0c9 /test/Other
parentbde87c4d2a98ef2d406bd596cd1e5455a5573312 (diff)
downloadllvm-9883b95a2bff097ec6d0f34af1ddea22bf29b6c6.tar.gz
llvm-9883b95a2bff097ec6d0f34af1ddea22bf29b6c6.tar.bz2
llvm-9883b95a2bff097ec6d0f34af1ddea22bf29b6c6.tar.xz
Revert r111058, the lint check for indirectbr successors that aren't
address-taken. This can occur normally, if the code which took the address got DCEd. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/lint.ll1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/Other/lint.ll b/test/Other/lint.ll
index 2163a42eb0..fcef7ee2d5 100644
--- a/test/Other/lint.ll
+++ b/test/Other/lint.ll
@@ -102,7 +102,6 @@ define void @not_vararg(i8* %p) nounwind {
}
; CHECK: Undefined behavior: Branch to non-blockaddress
-; CHECK: Unusual: indirectbr destination has not had its address taken
define void @use_indbr() {
indirectbr i8* bitcast (i32()* @foo to i8*), [label %block]
block: