aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Binary.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-06-07 00:17:08 +0000
committerSanjay Patel <spatel@rotateright.com>2017-06-07 00:17:08 +0000
commitf57015d4cc92ad7721ab52be4ba26e94b3a379e9 (patch)
treecd65333c6865935b8397fd4c4ac5ce5e1a21cd64 /llvm/lib/Object/Binary.cpp
parentd9c251f46c83dcdbb1a949029a118771c594bb45 (diff)
downloadllvm-f57015d4cc92ad7721ab52be4ba26e94b3a379e9.zip
llvm-f57015d4cc92ad7721ab52be4ba26e94b3a379e9.tar.gz
llvm-f57015d4cc92ad7721ab52be4ba26e94b3a379e9.tar.bz2
[CGP / PowerPC] use direct compares if there's only one load per block in memcmp() expansion
I'd like to enable CGP memcmp expansion for x86, but the output from CGP would regress the special cases (memcmp(x,y,N) != 0 for N=1,2,4,8,16,32 bytes) that we already handle. I'm not sure if we'll actually be able to produce the optimal code given the block-at-a-time limitation in the DAG. We might have to just avoid those special-cases here in CGP. But regardless of that, I think this is a win for the more general cases. http://rise4fun.com/Alive/cbQ Differential Revision: https://reviews.llvm.org/D33963 llvm-svn: 304849
Diffstat (limited to 'llvm/lib/Object/Binary.cpp')
0 files changed, 0 insertions, 0 deletions