diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-10-03 07:20:20 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-10-03 07:20:20 +0000 |
commit | 984f0ce06b8b9121c8403f2e663a33c2e0c93ff3 (patch) | |
tree | aa97543a05bb882e902f96ff134c8d6a12873d85 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 8aca0ee8c3a33720e5037b9e08e9f63f9ab93898 (diff) | |
download | llvm-984f0ce06b8b9121c8403f2e663a33c2e0c93ff3.zip llvm-984f0ce06b8b9121c8403f2e663a33c2e0c93ff3.tar.gz llvm-984f0ce06b8b9121c8403f2e663a33c2e0c93ff3.tar.bz2 |
Fix for PR929. The PHI nodes were being gone through for each instruction
in a successor block for every block...resulting in some O(N^k) algorithm
which wasn't very good for performance. Calculating this information up
front and keeping it in a map made it much faster.
llvm-svn: 30697
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions