diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-07-22 00:25:27 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-07-22 00:25:27 +0000 |
commit | 4dc848f3e81d369352e675f9195b3819e3b49cda (patch) | |
tree | e0865cde36cf13552d21e85d5125e74d6d338982 /llvm/lib/CodeGen/ELFWriter.cpp | |
parent | 47db941fd3e5a698c4417e38686ff6da6b2d81ee (diff) | |
download | bcm5719-llvm-4dc848f3e81d369352e675f9195b3819e3b49cda.tar.gz bcm5719-llvm-4dc848f3e81d369352e675f9195b3819e3b49cda.zip |
Let each target determines whether a machine instruction is dead. If true, that allows late codeine passes to delete it.
This is considered a workaround. The problem is some targets are not modeling side effects correctly. PPC is apparently one of those. This patch allows ppc llvm-gcc to bootstrap on Darwin. Once we find out which instruction definitions are wrong, we can remove the PPCInstrInfo workaround.
llvm-svn: 76703
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.cpp')
0 files changed, 0 insertions, 0 deletions