llvm-6502/lib
Chandler Carruth 0afa33115c Simplify the PHI node operand rewriting.
Previously, the code would scan the PHI nodes and build up a small
setvector of candidate value pairs in phi nodes to go and rewrite. Once
certain the rewrite could be performed, the code walks the set, and for
each one re-scans the entire PHI node list looking for nodes to rewrite
operands.

Instead, scan the PHI nodes once to check for hazards, and then scan it
a second time to rewrite the operands to selects. No set vector, and
a max of two scans.

The only downside is that we might form identical selects, but
instcombine or anything else should fold those easily, and it seems
unlikely to happen often.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173337 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-24 10:40:51 +00:00
..
Analysis ConstantFolding: Tweak r173289, it should evaluate in the intptr type, not the index type. 2013-01-23 21:21:24 +00:00
Archive Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
AsmParser Add the IR attribute 'sspstrong'. 2013-01-23 06:41:41 +00:00
Bitcode Make APFloat constructor require explicit semantics. 2013-01-22 09:46:31 +00:00
CodeGen MachineScheduler: enable biasCriticalPath for all DAGs. 2013-01-24 02:09:57 +00:00
DebugInfo Fix the assembly and dissassembly of DW_FORM_sec_offset. Found this by 2013-01-17 03:00:04 +00:00
ExecutionEngine Make APFloat constructor require explicit semantics. 2013-01-22 09:46:31 +00:00
IR Add a profile for uniquifying the AttributeSet with the AttributeSetNodes. 2013-01-24 01:01:34 +00:00
Linker [Linker] Kill Linker::LoadObject which is dead, and drop the BitReader dependency again. 2013-01-18 19:37:11 +00:00
MC Clean up assignment of CalleeSaveStackSlotSize: get rid of the default and explicitly set this in every target that needs to change it from the default. 2013-01-23 16:22:04 +00:00
Object [MC/Mach-O] Add support for linker options in Mach-O files. 2013-01-18 01:26:07 +00:00
Option Resort the #include lines in include/... and lib/... with the 2013-01-02 10:22:59 +00:00
Support Initial patch for x32 ABI support. 2013-01-22 18:02:49 +00:00
TableGen TableGen: Keep track of superclass reference ranges. 2013-01-10 18:50:11 +00:00
Target MipsISelLowering.cpp: Fill unreachable paths to fix warnings. [-Wsometimes-uninitialized] 2013-01-24 06:08:06 +00:00
Transforms Simplify the PHI node operand rewriting. 2013-01-24 10:40:51 +00:00
CMakeLists.txt Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00
LLVMBuild.txt Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00
Makefile Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00