llvm-6502/lib
Chris Lattner 4cb81bdd56 instcombine transforms vector loads that are only used by
extractelement operations into a bitcast of the pointer,
then a gep, then a scalar load.  Disable this when the vector
only has one element, because it leads to infinite loops in
instcombine (PR4908).

This transformation seems like a really bad idea to me, as it
will likely disable CSE of vector load/stores etc and can be
better done in the code generator when profitable.  This
goes all the way back to the first days of packed types,
r25299 specifically.

I'll let those people who care about the performance of vector
code decide what to do with this.





git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81185 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-08 03:44:51 +00:00
..
Analysis fix ComputeMaskedBits handling of zext/sext/trunc to work with vectors. 2009-09-08 00:13:52 +00:00
Archive Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
AsmParser Reappy r80998, now that the GlobalOpt bug that it exposed on MiniSAT is fixed. 2009-09-07 23:54:19 +00:00
Bitcode Reappy r80998, now that the GlobalOpt bug that it exposed on MiniSAT is fixed. 2009-09-07 23:54:19 +00:00
CodeGen Fix an abort on a store of an empty struct member. getValue returns 2009-09-08 01:44:02 +00:00
CompilerDriver convert LoopInfo.h and GraphWriter.h to use raw_ostream 2009-08-23 07:19:13 +00:00
Debugger Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
ExecutionEngine Fix PR4845: r77946 completely broke x86_64 Darwin (or any situation where the 2009-09-02 00:19:03 +00:00
Linker There is not any need to copy metadata while merging modules. 2009-09-03 20:35:57 +00:00
MC fix MCSymbol printing to exactly match the normal mangler rules so 2009-09-03 05:57:47 +00:00
Support Avoid warnings if assertions are off. 2009-09-06 19:28:38 +00:00
System Using a signal handler that does nothing should be 2009-09-07 05:58:25 +00:00
Target Do not create calls via PLT in compilation callback - this is higly platform 2009-09-06 20:21:48 +00:00
Transforms instcombine transforms vector loads that are only used by 2009-09-08 03:44:51 +00:00
VMCore Simplify from my last change. Assert1 is a macro that makes its caller return, 2009-09-08 02:02:39 +00:00
Makefile LLVMC doesn't need ENABLE_PIC to build now. 2009-07-04 03:54:54 +00:00