]> granicus.if.org Git - llvm/commit
Re-land "[MergeICmps] Disable mergeicmps if the target does not want to handle memcmp...
authorClement Courbet <courbet@google.com>
Fri, 6 Oct 2017 12:12:35 +0000 (12:12 +0000)
committerClement Courbet <courbet@google.com>
Fri, 6 Oct 2017 12:12:35 +0000 (12:12 +0000)
commit13426d53c59fe77a30a4b312ba0bbd9dcf802afd
treedc3069fc5c9a7f7e9d5e4a0054c4a599c1d1d28a
parentf7351883ca61b8268fd72dacb843c566f153c543
Re-land "[MergeICmps] Disable mergeicmps if the target does not want to handle memcmp expansion."

(fixed unit tests by making comparisons stable)

This reverts commit 1b2d359ce256fd6737da4e93833346a0bd6d7583.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315056 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/MergeICmps.cpp
test/Transforms/MergeICmps/X86/lit.local.cfg [new file with mode: 0644]
test/Transforms/MergeICmps/X86/pair-int32-int32.ll [new file with mode: 0644]
test/Transforms/MergeICmps/X86/tuple-four-int8.ll [moved from test/Transforms/MergeICmps/tuple-four-int8.ll with 57% similarity]
test/Transforms/MergeICmps/X86/volatile.ll [new file with mode: 0644]
test/Transforms/MergeICmps/pair-int32-int32.ll
test/Transforms/MergeICmps/volatile.ll [deleted file]