[llvm-commits] [llvm] r85678 - in /llvm/trunk: docs/LangRef.html include/llvm/Constants.h lib/AsmParser/LLParser.cpp lib/Bitcode/Reader/BitcodeReader.cpp lib/Bitcode/Writer/BitcodeWriter.cpp lib/Bitcode/Writer/ValueEnumerator.cpp lib/VMCore/AsmWriter.cpp lib/VMCore/BasicBlock.cpp lib/VMCore/Constants.cpp

Chris Lattner sabre at nondot.org
Sun Nov 1 10:18:42 PST 2009


On Nov 1, 2009, at 1:56 AM, Duncan Sands wrote:

> Hi Chris,
>
>> Make blockaddress(@func, null) be valid, and make 'deleting a basic
>> block with a blockaddress still referring to it' replace the invalid
>> blockaddress with a new blockaddress(@func, null) instead of a
>> inttoptr(1).
>
> if the only use of a function is a block address, it would be nice to
> be able to delete the function anyway.  What should the block address
> be replaced with in that case?

I reverted this patch.  blockaddress(@func, null) is now invalid again.

-Chris



More information about the llvm-commits mailing list