Teach Function::hasAddressTaken that BlockAddress doesn't really take
authorJay Foad <jay.foad@gmail.com>
Sat, 12 May 2012 08:30:16 +0000 (08:30 +0000)
committerJay Foad <jay.foad@gmail.com>
Sat, 12 May 2012 08:30:16 +0000 (08:30 +0000)
commitb7454fd9df0b477e3daf2fce6e1d5e1b241562df
treebb926d40337ccaa32dd4cc1e7318545ec34add08
parent2b38c12643236825a6a49c31ef49da8e62b094c2
Teach Function::hasAddressTaken that BlockAddress doesn't really take
the address of a function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156703 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Function.h
lib/Transforms/IPO/GlobalOpt.cpp
lib/VMCore/Function.cpp
test/Transforms/GlobalOpt/2012-05-11-blockaddress.ll [new file with mode: 0644]