llvm-6502/lib/Transforms
Derek Schuff c06e5cf2e3 Fix DeleteDeadVarargs not to crash on functions referenced by BlockAddresses
This pass was assuming that if hasAddressTaken() returns false for a
function, the function's only uses are call sites.  That's not true
because there can be references by BlockAddresses too.

Fix the pass to handle this case.  Fix
BlockAddress::replaceUsesOfWithOnConstant() to allow a function's type
to be changed by RAUW'ing the function with a bitcast of the recreated
function.

Patch by Mark Seaborn.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183933 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-13 19:51:17 +00:00
..
Hello
InstCombine Simplify code. No functionality change. 2013-06-06 23:34:59 +00:00
Instrumentation Move PathV2.h to Path.h 2013-06-11 22:21:28 +00:00
IPO Fix DeleteDeadVarargs not to crash on functions referenced by BlockAddresses 2013-06-13 19:51:17 +00:00
ObjCARC [objc-arc] Ensure that the cfg path count does not overflow when we multiply TopDownPathCount/BottomUpPathCount. 2013-06-07 06:16:49 +00:00
Scalar Fix a potential bug in r183584. 2013-06-08 04:56:05 +00:00
Utils Second part of pr16069 2013-06-04 14:11:59 +00:00
Vectorize LoopVectorize: Change API call to get the backedge taken count 2013-05-31 21:48:56 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile