diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2015-09-01 20:51:51 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2015-09-01 20:51:51 +0000 |
| commit | 30145677a8880e3543b4565287530d0affc784cb (patch) | |
| tree | f24c14b4dbc25fde200a3f224099a01de0d35666 /llvm/lib/Target/X86/X86Subtarget.cpp | |
| parent | 87202a4aace76fe56f0c950525243e94f0c20d5d (diff) | |
| download | bcm5719-llvm-30145677a8880e3543b4565287530d0affc784cb.tar.gz bcm5719-llvm-30145677a8880e3543b4565287530d0affc784cb.zip | |
rename "slow-unaligned-mem-under-32" to slow-unaligned-mem-16" (NFCI)
This is a follow-on suggested by:
http://reviews.llvm.org/D12154 ( http://reviews.llvm.org/rL245729 )
http://reviews.llvm.org/D10662 ( http://reviews.llvm.org/rL245075 )
This makes the attribute name match most of the existing lowering logic
and regression test expectations.
But the current use of this attribute is inconsistent; see the FIXME
comment for "allowsMisalignedMemoryAccesses()". That change will
result in functional changes and should be coming soon.
llvm-svn: 246585
Diffstat (limited to 'llvm/lib/Target/X86/X86Subtarget.cpp')
| -rw-r--r-- | llvm/lib/Target/X86/X86Subtarget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.cpp b/llvm/lib/Target/X86/X86Subtarget.cpp index b23b3c0e99a..5b53ca93399 100644 --- a/llvm/lib/Target/X86/X86Subtarget.cpp +++ b/llvm/lib/Target/X86/X86Subtarget.cpp @@ -197,7 +197,7 @@ void X86Subtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) { // introduced with Intel's Nehalem/Silvermont and AMD's Family10h // micro-architectures respectively. if (hasSSE42() || hasSSE4A()) - IsUAMemUnder32Slow = false; + IsUAMem16Slow = false; InstrItins = getInstrItineraryForCPU(CPUName); @@ -262,7 +262,7 @@ void X86Subtarget::initializeEnvironment() { HasMPX = false; IsBTMemSlow = false; IsSHLDSlow = false; - IsUAMemUnder32Slow = false; + IsUAMem16Slow = false; IsUAMem32Slow = false; HasSSEUnalignedMem = false; HasCmpxchg16b = false; |

