llvm-6502/lib
Chris Lattner 63168d2244 Do not let the numbering of PHI nodes placed in the function depend on
non-deterministic things like the ordering of blocks in the dominance
frontier of a BB.  Unfortunately, I don't know of a better way to solve
this problem than to explicitly sort the BB's in function-order before
processing them.  This is guaranteed to slow the pass down a bit, but
is absolutely necessary to get usable diffs between two different tools
executing the mem2reg or scalarrepl pass.

Before this, bazillions of spurious diff failures occurred all over the
place due to the different order of processing PHIs:

-       %tmp.111 = getelementptr %struct.Connector_struct* %upcon.0.0, uint 0, uint 0
+       %tmp.111 = getelementptr %struct.Connector_struct* %upcon.0.1, uint 0, uint 0

Now, the diffs match.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14244 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-19 07:40:14 +00:00
..
Analysis Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID() 2004-06-17 18:19:28 +00:00
Archive Use the new FileUtilities.h API for mapping a file into an address 2004-05-28 00:24:41 +00:00
AsmParser Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID() 2004-06-17 18:19:28 +00:00
Bytecode Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID() 2004-06-17 18:19:28 +00:00
CodeGen Make debugging dumps w/ multiple MachineBBs for a given LLVM BB readable. 2004-06-17 22:26:53 +00:00
Debugger "fix" a nasty race condition 2004-01-14 21:18:03 +00:00
ExecutionEngine Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID() 2004-06-17 18:19:28 +00:00
Linker Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID() 2004-06-17 18:19:28 +00:00
Support * Fix file header and name 2004-06-18 15:38:49 +00:00
Target .zero doesn't work in the Solaris assembler. 2004-06-18 08:59:16 +00:00
Transforms Do not let the numbering of PHI nodes placed in the function depend on 2004-06-19 07:40:14 +00:00
VMCore Fix printing of Argument objects, problem found by Patrick Meredith 2004-06-18 04:07:20 +00:00
Makefile CBackend is no longer here 2004-02-13 23:29:37 +00:00