llvm-6502/lib
Chris Lattner a52fce49eb make GVN work better when TD is not around:
"In the existing code, if the load and the value to replace it with are
of different types *and* target data is available, it tries to use the
target data to coerce the replacement value to the type of the load.
Otherwise, it skips all effort to handle the type mismatch and just
feeds the wrongly-typed replacement value to replaceAllUsesWith, which
triggers an assertion.

The patch replaces it with an outer if checking for type mismatch, and
an inner if-else that checks whether target data is available and, if
not, returns false rather than trying to replace the load."

Patch by Kenneth Uildriks!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84739 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-21 04:11:19 +00:00
..
Analysis Fix another place that calls Loop::contains a lot to construct a sorted 2009-10-20 20:41:13 +00:00
Archive Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
AsmParser Cosmetic changes. 2009-10-20 22:50:27 +00:00
Bitcode simplify. 2009-10-19 05:51:03 +00:00
CodeGen Revert r84658 and r84691. They were causing llvm-gcc bootstrap to fail. 2009-10-21 01:44:44 +00:00
CompilerDriver First draft of the OptionPreprocessor. 2009-10-17 20:09:29 +00:00
ExecutionEngine Delete the MacOSJITEventListener per echristo's request. It was disabled by 2009-10-21 00:43:48 +00:00
Linker Remove unnecessary #include. 2009-09-12 22:24:25 +00:00
MC add a twine version of MCContext::GetOrCreateSymbol. 2009-10-19 22:49:00 +00:00
Support Move UnescapeString to a static function for its sole client; its inefficient and broken. 2009-10-17 20:43:42 +00:00
System Haiku porting patches, Credit to Paul Davey. 2009-10-12 04:57:20 +00:00
Target tidy 2009-10-21 04:10:24 +00:00
Transforms make GVN work better when TD is not around: 2009-10-21 04:11:19 +00:00
VMCore Cosmetic changes. 2009-10-20 22:50:27 +00:00
Makefile remove llvm-db: it is completely broken and if anyone wants to do a debugger, 2009-10-05 02:29:51 +00:00