History log of /llvm-project/llvm/lib/Transforms/Scalar/MergeICmps.cpp (Results 101 – 109 of 109)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4e1bae81 06-Oct-2017 Clement Courbet <courbet@google.com>

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 1b2d359ce256fd6737da4e93833346a

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

show more ...


# 922e5bc6 05-Oct-2017 Clement Courbet <courbet@google.com>

Revert "Re-land "[MergeICmps] Disable mergeicmps if the target does not want to handle memcmp expansion."""

broken test on windows

This reverts commit c91479518344fd1fc071c5bd5848f6eb83e53dca.

llv

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

show more ...


# 4cafbb9b 05-Oct-2017 Clement Courbet <courbet@google.com>

Re-land "[MergeICmps] Disable mergeicmps if the target does not want to handle memcmp expansion.""

llvm-svn: 314980


# 6603fc0e 05-Oct-2017 Clement Courbet <courbet@google.com>

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

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

show more ...


# 902eef32 05-Oct-2017 Clement Courbet <courbet@google.com>

[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

[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

show more ...


# 98eaa883 04-Oct-2017 Clement Courbet <courbet@google.com>

[NFC] clang-format lib/Transforms/Scalar/MergeICmps.cpp

llvm-svn: 314906


Revision tags: llvmorg-5.0.0, llvmorg-5.0.0-rc5
# bc0c4459 01-Sep-2017 Clement Courbet <courbet@google.com>

[MergeICmps] Fix build of rL312315 on clang-with-thin-lto-windows:

MergeICmps.cpp(68,15): error: chosen constructor is explicit in copy-initialization
return {};
APInt.h(339,12): note: explici

[MergeICmps] Fix build of rL312315 on clang-with-thin-lto-windows:

MergeICmps.cpp(68,15): error: chosen constructor is explicit in copy-initialization
return {};
APInt.h(339,12): note: explicit constructor declared here
explicit APInt() : BitWidth(1) { U.VAL = 0; }
^
MergeICmps.cpp(56,9): note: in implicit initialization of field 'Offset' with omitted
initializer
APInt Offset;
^

llvm-svn: 312326

show more ...


# 65130e2d 01-Sep-2017 Clement Courbet <courbet@google.com>

Reland rL312315: [MergeICmps] MergeICmps is a new optimization pass that turns chains of integer

Add missing header.

This reverts commit 86dd6335cf7607af22f383a9a8e072ba929848cf.

llvm-svn: 312322


# 9473c01e 01-Sep-2017 Clement Courbet <courbet@google.com>

[MergeICmps] MergeICmps is a new optimization pass that turns chains of integer
comparisons into memcmp.

Thanks to recent improvements in the LLVM codegen, the memcmp is typically
inlined as a chain

[MergeICmps] MergeICmps is a new optimization pass that turns chains of integer
comparisons into memcmp.

Thanks to recent improvements in the LLVM codegen, the memcmp is typically
inlined as a chain of efficient hardware comparisons.
This typically benefits C++ member or nonmember operator==().

For now this is disabled by default until:
- https://bugs.llvm.org/show_bug.cgi?id=33329 is complete
- Benchmarks show that this is always useful.

Differential Revision:
https://reviews.llvm.org/D33987

llvm-svn: 312315

show more ...


12345