]> granicus.if.org Git - llvm/commit
GlobalISel: Use helper function for MMO splitting
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 31 Jan 2019 01:49:58 +0000 (01:49 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 31 Jan 2019 01:49:58 +0000 (01:49 +0000)
commitb2d28d4c3452549b94ddaad1cfc4da138938997f
tree61ec6eeb4deb82caea34b2d90efe8a7499e5a9eb
parente424cc64f5afcbf14ccccb252729e752d4a5bfed
GlobalISel: Use helper function for MMO splitting

Also fix an alignment bug getMachineMemOperand. If the
tracked value is null, the offset isn't tracked so the
base alignment needs to be reduced.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352716 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/CodeGen/MachineFunction.cpp