diff options
author | Dan Gohman <dan433584@gmail.com> | 2016-01-26 03:39:31 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2016-01-26 03:39:31 +0000 |
commit | bb3722430f8bf7ceaa22e4f13df2a1730d93cfd7 (patch) | |
tree | 219adb250190e13c6003449f67bec940d71f5079 /llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h | |
parent | 3a5c958182021abe2c2293409720ce9262711ef3 (diff) | |
download | bcm5719-llvm-bb3722430f8bf7ceaa22e4f13df2a1730d93cfd7.tar.gz bcm5719-llvm-bb3722430f8bf7ceaa22e4f13df2a1730d93cfd7.zip |
[WebAssembly] Implement unaligned loads and stores.
Differential Revision: http://reviews.llvm.org/D16534
llvm-svn: 258779
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h index e7232a042e1..b56f602effe 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h @@ -56,6 +56,8 @@ private: bool isCheapToSpeculateCtlz() const override; bool isLegalAddressingMode(const DataLayout &DL, const AddrMode &AM, Type *Ty, unsigned AS) const override; + bool allowsMisalignedMemoryAccesses(EVT, unsigned AddrSpace, unsigned Align, + bool *Fast) const override; SDValue LowerCall(CallLoweringInfo &CLI, SmallVectorImpl<SDValue> &InVals) const override; |