llvm-6502/lib/Transforms/InstCombine
Richard Sandiford 23331c30ae Fix big-endian handling of integer-to-vector bitcasts in InstCombine
These functions used to assume that the lsb of an integer corresponds
to vector element 0, whereas for big-endian it's the other way around:
the msb is in the first element and the lsb is in the last element.

Fixes MultiSource/Benchmarks/mediabench/gsm/toast for z.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188155 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-12 07:26:09 +00:00
..
CMakeLists.txt
InstCombine.h Reapply with r182909 with a fix to the calculation of the new indices for 2013-05-31 00:59:42 +00:00
InstCombineAddSub.cpp Preserve fast-math flags when folding (fsub x, (fneg y)) to (fadd x, y). 2013-07-30 23:53:17 +00:00
InstCombineAndOrXor.cpp Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector size. 2013-07-14 04:42:23 +00:00
InstCombineCalls.cpp Change behavior of calling bitcasted alias functions. 2013-07-30 20:45:05 +00:00
InstCombineCasts.cpp Fix big-endian handling of integer-to-vector bitcasts in InstCombine 2013-08-12 07:26:09 +00:00
InstCombineCompares.cpp InstCombine: Fix typo in comment for visitICmpInstWithInstAndIntCst 2013-07-09 09:24:35 +00:00
InstCombineLoadStoreAlloca.cpp
InstCombineMulDivRem.cpp Correct case of m_UIToFp to m_UIToFP to match instruction name, add m_SIToFP for consistency. 2013-07-26 17:55:00 +00:00
InstCombinePHI.cpp
InstCombineSelect.cpp InstCombine: Also turn selects fed by an and into arithmetic when the types don't match. 2013-06-29 21:17:04 +00:00
InstCombineShifts.cpp
InstCombineSimplifyDemanded.cpp
InstCombineVectorOps.cpp Fix a crash in EvaluateInDifferentElementOrder where it would generate an 2013-07-12 23:08:06 +00:00
InstCombineWorklist.h Fix missing -*- C++ -*-s 2013-08-06 00:16:21 +00:00
InstructionCombining.cpp Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-04 01:31:24 +00:00
LLVMBuild.txt
Makefile