llvm-6502/lib
Dan Gohman afc36a9520 Previously, RecursivelyDeleteDeadInstructions provided an option
of returning a list of pointers to Values that are deleted. This was
unsafe, because the pointers in the list are, by nature of what
RecursivelyDeleteDeadInstructions does, always dangling. Replace this
with a simple callback mechanism. This may eventually be removed if
all clients can reasonably be expected to use CallbackVH.

Use this to factor out the dead-phi-cycle-elimination code from LSR
utility function, and generalize it to use the
RecursivelyDeleteTriviallyDeadInstructions utility function.

This makes LSR more aggressive about eliminating dead PHI cycles;
adjust tests to either be less trivial or to simply expect fewer
instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70636 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-02 18:29:22 +00:00
..
Analysis When ScalarEvolution is told to forget the trip count for a loop, have 2009-05-02 17:43:35 +00:00
Archive Add the private linkage. 2009-01-15 20:18:42 +00:00
AsmParser testcase and asmparser fix for PR4066 2009-04-25 21:26:00 +00:00
Bitcode Make a major API change to BitstreamReader: split all the reading 2009-04-26 20:59:02 +00:00
CodeGen Allow CONCAT_VECTORS nodes to be legal or have custom lowering for some targets. 2009-05-01 17:55:32 +00:00
CompilerDriver
Debugger Oops...I committed too much. 2009-03-13 04:39:26 +00:00
ExecutionEngine Set FnEnd in JITEmitter::finishFunction to point strictly to the end of function's machine code. 2009-04-30 23:01:58 +00:00
Linker Add a new "available_externally" linkage type. This is intended 2009-04-13 05:44:34 +00:00
Support Move helper functions for optimizing division by constant into the APInt 2009-04-30 10:15:35 +00:00
System Fix choice of version of Windows callback to use to consider not only the Visual Studio version, but also the Windows SDK version. 2009-04-28 16:37:58 +00:00
Target 'The attached patch fixes an issue where llc -march=cpp fails with 2009-05-01 23:54:26 +00:00
Transforms Previously, RecursivelyDeleteDeadInstructions provided an option 2009-05-02 18:29:22 +00:00
VMCore Any size of integral indices are allowed in gep for indexing into sequential types. Also adding a test case to check the indices type allowed into struct. 2009-04-26 17:14:35 +00:00
Makefile Reorganize llvmc code. 2009-03-02 09:01:14 +00:00