aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-07-11 09:22:42 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-07-11 09:22:42 +0000
commitdf9d59771be1fac62718023528c678bcaf7c28b4 (patch)
treece5a9a78277e4ceb694d7de8179350f1de2a0f2c /llvm/lib/Object/MachOObjectFile.cpp
parent97cf111689572b6c14c04554e1194406e758ca96 (diff)
downloadllvm-df9d59771be1fac62718023528c678bcaf7c28b4.zip
llvm-df9d59771be1fac62718023528c678bcaf7c28b4.tar.gz
llvm-df9d59771be1fac62718023528c678bcaf7c28b4.tar.bz2
[DAGCombiner] Support non-uniform X%C -> X-(X/C)*C folds
First stage in PR38057 - support non-uniform constant vectors in the combine to reuse the division-by-constant logic. We can definitely do better for srem pow2 remainders (and avoid that extra multiply....) but this at least helps keep everything on the vector unit. Differential Revision: https://reviews.llvm.org/D48975 llvm-svn: 336774
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions