It's valid to take the blockaddress of a different function, so remove this
authorNick Lewycky <nicholas@mxc.ca>
Fri, 6 May 2011 21:09:44 +0000 (21:09 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 6 May 2011 21:09:44 +0000 (21:09 +0000)
commit308fba5fe2714f28984d973d79f948dc24ba23b4
treec3f8d6793d563f7e8a2f59e02cab726540bcbe7e
parentce1cdac94207a3bdfeb6b3b1b666e588dfdc6c3d
It's valid to take the blockaddress of a different function, so remove this
assert in the bitcode writer. No change needed because the ValueEnumerator holds
a whole-module numbering anyhow. Fixes PR9857!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131016 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Writer/BitcodeWriter.cpp
test/Bitcode/blockaddress.ll [new file with mode: 0644]