summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-02-05 23:15:53 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-02-05 23:15:53 +0000
commitbb7bf85f3c7149e74e1cc2be823d558e33469bad (patch)
tree8e02d7228f66a6e6ff14374286dd4507aed30d13 /lib/Target/PowerPC/PPCISelLowering.cpp
parentdf7da79db6879032da83de83a90f981cacdb5f1a (diff)
downloadllvm-bb7bf85f3c7149e74e1cc2be823d558e33469bad.tar.gz
llvm-bb7bf85f3c7149e74e1cc2be823d558e33469bad.tar.bz2
llvm-bb7bf85f3c7149e74e1cc2be823d558e33469bad.tar.xz
Add address space argument to allowsUnalignedMemoryAccess.
On R600, some address spaces have more strict alignment requirements than others. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200887 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp
index 1c8f928887..b8bf3bda80 100644
--- a/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -7885,6 +7885,7 @@ EVT PPCTargetLowering::getOptimalMemOpType(uint64_t Size,
}
bool PPCTargetLowering::allowsUnalignedMemoryAccesses(EVT VT,
+ unsigned,
bool *Fast) const {
if (DisablePPCUnaligned)
return false;