llvm-6502/lib
Duncan Sands 841f426175 Reapply commit 158073 with a fix (the testcase was already committed). The
problem was that by moving instructions around inside the function, the pass
could accidentally move the iterator being used to advance over the function
too.  Fix this by only processing the instruction equal to the iterator, and
leaving processing of instructions that might not be equal to the iterator
to later (later = after traversing the basic block; it could also wait until
after traversing the entire function, but this might make the sets quite big).
Original commit message:

Grab-bag of reassociate tweaks.  Unify handling of dead instructions and
instructions to reoptimize.  Exploit this to more systematically eliminate
dead instructions (this isn't very useful in practice but is convenient for
analysing some testcase I am working on).  No need for WeakVH any more: use
an AssertingVH instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158226 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-08 20:15:33 +00:00
..
Analysis Round 2 of dead private variable removal. 2012-06-06 19:47:08 +00:00
Archive
AsmParser switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients. 2012-05-28 01:47:44 +00:00
Bitcode PR1255: case ranges. 2012-06-02 09:42:43 +00:00
CodeGen Fix Target->Codegen dependence. 2012-06-08 17:23:27 +00:00
DebugInfo
ExecutionEngine Round 2 of dead private variable removal. 2012-06-06 19:47:08 +00:00
Linker Supply a C interface to the "LinkModules" method. 2012-05-09 08:55:40 +00:00
MC Add accessors for all private members of DisasmContext. 2012-06-06 20:45:10 +00:00
Object Mark some static arrays as const. 2012-05-24 06:35:32 +00:00
Support Fix a crash in APInt::lshr when shiftAmt > BitWidth. 2012-06-08 18:04:52 +00:00
TableGen Fix 80 columns. 2012-06-01 00:58:41 +00:00
Target Remove the TODO statement in the PPC README re: CTR loops 2012-06-08 20:02:09 +00:00
Transforms Reapply commit 158073 with a fix (the testcase was already committed). The 2012-06-08 20:15:33 +00:00
VMCore Simplify the fma4 renaming code. 2012-06-03 16:48:52 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile