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.h | |
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.h')
-rw-r--r-- | llvm/lib/Target/X86/X86Subtarget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h index d5d00277e5b..c5d74e66b7b 100644 --- a/llvm/lib/Target/X86/X86Subtarget.h +++ b/llvm/lib/Target/X86/X86Subtarget.h @@ -146,8 +146,8 @@ protected: /// True if SHLD instructions are slow. bool IsSHLDSlow; - /// True if unaligned memory accesses of 16-bytes or smaller are slow. - bool IsUAMemUnder32Slow; + /// True if unaligned memory accesses of 16-bytes are slow. + bool IsUAMem16Slow; /// True if unaligned memory accesses of 32-bytes are slow. bool IsUAMem32Slow; @@ -357,7 +357,7 @@ public: bool hasRDSEED() const { return HasRDSEED; } bool isBTMemSlow() const { return IsBTMemSlow; } bool isSHLDSlow() const { return IsSHLDSlow; } - bool isUnalignedMemUnder32Slow() const { return IsUAMemUnder32Slow; } + bool isUnalignedMem16Slow() const { return IsUAMem16Slow; } bool isUnalignedMem32Slow() const { return IsUAMem32Slow; } bool hasSSEUnalignedMem() const { return HasSSEUnalignedMem; } bool hasCmpxchg16b() const { return HasCmpxchg16b; } |