Xin Tong
0efadbbcde
[MergeICmp] Split blocks that do other work.
...
Summary:
We do not try to move the instructions and split the block till we
know the blocks can be split, i.e. BCE-cmp-insts can be separated from
non-BCE-cmp-insts.
Reviewers: davide, courbet
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D44443
llvm-svn: 329564
2018-04-09 13:14:06 +00:00
Clement Courbet
e2e8a5c496
Re-land "[MergeICmps] Disable mergeicmps if the target does not want to handle memcmp expansion."
...
(fixed stability issues)
This reverts commit d6492333d3b478a1d88163315002022f8d5e58dc.
llvm-svn: 315281
2017-10-10 08:00:45 +00:00
Clement Courbet
d12c189e2e
Revert "[MergeICmps] Disable mergeicmps if the target does not want to handle memcmp expansion."
...
Still a few stability issues on windows.
This reverts commit 67e3db9bc121ba244e20337aabc7cf341a62b545.
llvm-svn: 315058
2017-10-06 13:02:24 +00:00
Clement Courbet
4e1bae8136
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.
llvm-svn: 315056
2017-10-06 12:12:35 +00:00
Clement Courbet
922e5bc698
Revert "Re-land "[MergeICmps] Disable mergeicmps if the target does not want to handle memcmp expansion."""
...
broken test on windows
This reverts commit c91479518344fd1fc071c5bd5848f6eb83e53dca.
llvm-svn: 314985
2017-10-05 14:42:06 +00:00
Clement Courbet
4cafbb9b5e
Re-land "[MergeICmps] Disable mergeicmps if the target does not want to handle memcmp expansion.""
...
llvm-svn: 314980
2017-10-05 12:39:57 +00:00
Clement Courbet
6603fc0e7b
Revert "[MergeICmps] Disable mergeicmps if the target does not want to handle memcmp expansion."
...
Breaks
clang-stage1-cmake-RA-incremental/llvm/test/Transforms/MergeICmps/X86/tuple-four-int8.ll
This reverts commit 3038c459d67f8898ffa295d54a013b280690abfa.
llvm-svn: 314972
2017-10-05 08:03:39 +00:00
Clement Courbet
902eef32eb
[MergeICmps] Disable mergeicmps if the target does not want to handle memcmp expansion.
...
Summary: This is to avoid e.g. merging two cheap icmps if the target is not going to expand to something nice later.
Reviewers: dberlin, spatel
Subscribers: davide, nemanjai
Differential Revision: https://reviews.llvm.org/D38232
llvm-svn: 314970
2017-10-05 07:49:09 +00:00