llvm-6502/lib
Evan Cheng 2f435511e9 Many of the SSE patterns should not be selected when AVX is available. This led to the following code in X86Subtarget.cpp
if (HasAVX)
    X86SSELevel = NoMMXSSE;

This is so patterns that are predicated on hasSSE3, etc. would not be selected when avx is available. Instead, the AVX variant is selected.
However, this breaks instructions which do not have AVX variants.

The right way to fix this is for the SSE but not-AVX patterns to predicate on something like hasSSE3() && !hasAVX().
Then we can take out the hack in X86Subtarget.cpp. Patterns which do not have AVX variants do not need to change.

However, we need to audit all the patterns before we make the change. This patch is workaround that fixes one specific case,
the prefetch instructions. rdar://10538297


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146163 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-08 19:00:42 +00:00
..
Analysis
Archive
AsmParser Push StringRefs through the metadata interface. 2011-12-06 11:50:26 +00:00
Bitcode Fix 80-column. 2011-12-08 00:38:45 +00:00
CodeGen Fix a bug in the integer-promotion of bitcast operations on vector types. 2011-12-08 13:10:01 +00:00
DebugInfo
ExecutionEngine EngineBuilder: support for custom TargetOptions. Fixes the 2011-12-07 23:58:57 +00:00
Linker
MC Darwin assembler improved relocs when w/o subsections_via_symbols. 2011-12-07 19:46:59 +00:00
Object
Support Adding missing anchor to DATDeltaAlgorithm. 2011-12-07 06:44:23 +00:00
TableGen
Target Many of the SSE patterns should not be selected when AVX is available. This led to the following code in X86Subtarget.cpp 2011-12-08 19:00:42 +00:00
Transforms Remove unused include. 2011-12-07 17:18:31 +00:00
VMCore Push StringRefs through the metadata interface. 2011-12-06 11:50:26 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile