llvm-6502/lib
Sanjay Patel 89305e5345 Don't prevent a vselect of constants from becoming a single load (PR20648).
Fix for PR20648 - http://llvm.org/bugs/show_bug.cgi?id=20648

This patch checks the operands of a vselect to see if all values are constants.
If yes, bail out of any further attempts to create a blend or shuffle because
SelectionDAGLegalize knows how to turn this kind of vselect into a single load.

This already happens for machines without SSE4.1, so the added checks just send
more targets down that path.

Differential Revision: http://reviews.llvm.org/D4934


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216121 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-20 20:34:56 +00:00
..
Analysis Answer to Philip Reames comments 2014-08-18 22:18:14 +00:00
AsmParser Split parseAssembly into parseAssembly and parseAssemblyInto. 2014-08-19 22:05:47 +00:00
Bitcode BitcodeReader: Only create one basic block for each blockaddress 2014-08-16 01:54:37 +00:00
CodeGen Fix null reference creation in ScheduleDAGInstrs constructor call. 2014-08-20 19:36:05 +00:00
DebugInfo Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
ExecutionEngine [MCJIT] Allow '$' characters in symbol names in RuntimeDyldChecker. 2014-08-19 20:04:45 +00:00
IR IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
IRReader Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
LineEditor
Linker Set comdats when lazily linking functions. 2014-08-15 20:17:08 +00:00
LTO Silencing a -Wcast-qual warning. NFC. 2014-08-20 12:54:13 +00:00
MC Remove unused field. 2014-08-20 17:33:44 +00:00
Object Fix a pair of use after free. Should bring the bots back. 2014-08-19 18:59:14 +00:00
Option [Option] Support MultiArg in --help 2014-08-15 21:35:07 +00:00
ProfileData Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
Support Fix undefined behavior (left shift by 64 bits) in ScaledNumber::toString(). 2014-08-20 18:30:07 +00:00
TableGen Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
Target Don't prevent a vselect of constants from becoming a single load (PR20648). 2014-08-20 20:34:56 +00:00
Transforms InstCombine: Annotate sub with nuw when we prove it's safe 2014-08-20 07:17:31 +00:00
CMakeLists.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
LLVMBuild.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
Makefile ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00