History log of /llvm-project/llvm/lib/Transforms/Scalar/MergeICmps.cpp (Results 76 – 100 of 109)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-7.0.0, llvmorg-7.0.0-rc3, llvmorg-7.0.0-rc2, llvmorg-7.0.0-rc1, llvmorg-6.0.1, llvmorg-6.0.1-rc3, llvmorg-6.0.1-rc2
# a76b64ff 19-May-2018 Benjamin Kramer <benny.kra@googlemail.com>

[MergeICmps] Don't crash when memcmp is not available

Fixes clang crashing with -fno-builtin, PR37527.

llvm-svn: 332808


# d34e60ca 14-May-2018 Nicola Zaghen <nicola.zaghen@imgtec.com>

Rename DEBUG macro to LLVM_DEBUG.

The DEBUG() macro is very generic so it might clash with other projects.
The renaming was done as follows:
- git grep -l 'DEBUG' | xargs sed -i 's/\bDEBUG\s\?(/

Rename DEBUG macro to LLVM_DEBUG.

The DEBUG() macro is very generic so it might clash with other projects.
The renaming was done as follows:
- git grep -l 'DEBUG' | xargs sed -i 's/\bDEBUG\s\?(/LLVM_DEBUG(/g'
- git diff -U0 master | ../clang/tools/clang-format/clang-format-diff.py -i -p1 -style LLVM
- Manual change to APInt
- Manually chage DOCS as regex doesn't match it.

In the transition period the DEBUG() macro is still present and aliased
to the LLVM_DEBUG() one.

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

llvm-svn: 332240

show more ...


Revision tags: llvmorg-6.0.1-rc1
# ae179009 14-Apr-2018 Hiroshi Inoue <inouehrs@jp.ibm.com>

[NFC] fix trivial typos in document and comments

"not not" -> "not" etc

llvm-svn: 330083


# 636d94db 13-Apr-2018 Mandeep Singh Grang <mgrang@codeaurora.org>

[Transforms] Change std::sort to llvm::sort in response to r327219

Summary:
r327219 added wrappers to std::sort which randomly shuffle the container before sorting.
This will help in uncovering non-

[Transforms] Change std::sort to llvm::sort in response to r327219

Summary:
r327219 added wrappers to std::sort which randomly shuffle the container before sorting.
This will help in uncovering non-determinism caused due to undefined sorting
order of objects having the same key.

To make use of that infrastructure we need to invoke llvm::sort instead of std::sort.

Note: This patch is one of a series of patches to replace *all* std::sort to llvm::sort.
Refer the comments section in D44363 for a list of all the required patches.

Reviewers: kcc, pcc, danielcdh, jmolloy, sanjoy, dberlin, ruiu

Reviewed By: ruiu

Subscribers: ruiu, llvm-commits

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

llvm-svn: 330059

show more ...


# fdad23bc 09-Apr-2018 Xin Tong <trent.xin.tong@gmail.com>

[MergeICmp] Update debug msg.NFC

llvm-svn: 329572


# 0efadbbc 09-Apr-2018 Xin Tong <trent.xin.tong@gmail.com>

[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-BC

[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

show more ...


Revision tags: llvmorg-5.0.2, llvmorg-5.0.2-rc2
# 0272cb07 27-Mar-2018 Xin Tong <trent.xin.tong@gmail.com>

80-line wrap. NFC

llvm-svn: 328660


# a713ebea 20-Mar-2018 Xin Tong <trent.xin.tong@gmail.com>

[MergeICmps] Break eargerly out of loop

llvm-svn: 327972


# bdbd97ed 20-Mar-2018 Xin Tong <trent.xin.tong@gmail.com>

[MergeICmp] Fix a bug in entry block shuffled to middle of the chain

Summary: Fix a bug in entry block shuffled to middle of the chain.

Reviewers: davide, courbet

Subscribers: llvm-commits

Differ

[MergeICmp] Fix a bug in entry block shuffled to middle of the chain

Summary: Fix a bug in entry block shuffled to middle of the chain.

Reviewers: davide, courbet

Subscribers: llvm-commits

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

llvm-svn: 327971

show more ...


Revision tags: llvmorg-5.0.2-rc1
# 9f0b3170 13-Mar-2018 Clement Courbet <courbet@google.com>

[MergeICmps] Make sure that the comparison only has one use.

Summary: Fixes PR36557.

Reviewers: trentxintong, spatel

Subscribers: mstorsjo, llvm-commits

Differential Revision: https://reviews.llv

[MergeICmps] Make sure that the comparison only has one use.

Summary: Fixes PR36557.

Reviewers: trentxintong, spatel

Subscribers: mstorsjo, llvm-commits

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

llvm-svn: 327372

show more ...


# 8fd561f5 06-Mar-2018 Xin Tong <trent.xin.tong@gmail.com>

[MergeICmp] Simplify how BCECmpBlock instructions are blacklisted

llvm-svn: 326761


# 98af9efc 06-Mar-2018 Xin Tong <trent.xin.tong@gmail.com>

[MergeICmp] Fix printing. NFC

llvm-svn: 326760


# 8345c0e3 05-Mar-2018 Xin Tong <trent.xin.tong@gmail.com>

[MergeICmp] We can discard initial blocks that do other work

Summary:
We can discard initial blocks that do other work
We do not need to limit ourselves to just the first block in the chain.

Revie

[MergeICmp] We can discard initial blocks that do other work

Summary:
We can discard initial blocks that do other work
We do not need to limit ourselves to just the first block in the chain.

Reviewers: courbet, davide

Reviewed By: courbet

Subscribers: llvm-commits

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

llvm-svn: 326698

show more ...


# 34be1b02 05-Mar-2018 Clement Courbet <courbet@google.com>

[MergeICmps][NFC] Improve logging.

llvm-svn: 326683


Revision tags: llvmorg-6.0.0
# 256869d8 28-Feb-2018 Xin Tong <trent.xin.tong@gmail.com>

Fix typo. NFC

llvm-svn: 326319


# 8ba674e4 28-Feb-2018 Xin Tong <trent.xin.tong@gmail.com>

[MergeICmp] Fix a bug in MergeICmp that can lead to a block being processed more than once.

Summary:
Fix a bug in MergeICmp that can lead to a BCECmp block being processed more than once and eventua

[MergeICmp] Fix a bug in MergeICmp that can lead to a block being processed more than once.

Summary:
Fix a bug in MergeICmp that can lead to a BCECmp block being processed more than once and eventually lead to a broken LLVM module.
The problem is that if the non-constant value is not produced by the last block, the producer will be processed once when the its parent block
is processed and second time when the last block is processed.

We end up having 2 same BCECmpBlock in the merge queue. And eventually lead to a broken LLVM module.

Reviewers: courbet, davide

Reviewed By: courbet

Subscribers: llvm-commits

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

llvm-svn: 326318

show more ...


Revision tags: llvmorg-6.0.0-rc3, llvmorg-6.0.0-rc2
# a7a17468 06-Feb-2018 Clement Courbet <courbet@google.com>

[MergeICmps] Handle chains with several complex BCE basic blocks.

- Fix condition for detecting that a complex basic block was the first in
the chain.
- Add tests.

This was caught by buildbots

[MergeICmps] Handle chains with several complex BCE basic blocks.

- Fix condition for detecting that a complex basic block was the first in
the chain.
- Add tests.

This was caught by buildbots when submitting rL324319.

llvm-svn: 324341

show more ...


# c2109c8a 06-Feb-2018 Clement Courbet <courbet@google.com>

[MergeICmps][NFC] Add more assertions.

llvm-svn: 324323


# d24ddcd6 19-Jan-2018 Hiroshi Inoue <inouehrs@jp.ibm.com>

[NFC] fix trivial typos in comments

"the the" -> "the"

llvm-svn: 322934


Revision tags: llvmorg-6.0.0-rc1
# 6af4f232 13-Dec-2017 Michael Zolotukhin <mzolotukhin@apple.com>

Remove redundant includes from lib/Transforms.

llvm-svn: 320628


Revision tags: llvmorg-5.0.1, llvmorg-5.0.1-rc3, llvmorg-5.0.1-rc2, llvmorg-5.0.1-rc1
# b2c3eb8c 30-Oct-2017 Clement Courbet <courbet@google.com>

[CodeGen][ExpandMemcmp] Allow memcmp to expand to vector loads (2).

- Targets that want to support memcmp expansions now return the list of
supported load sizes.
- Expansion codegen does not as

[CodeGen][ExpandMemcmp] Allow memcmp to expand to vector loads (2).

- Targets that want to support memcmp expansions now return the list of
supported load sizes.
- Expansion codegen does not assume that all power-of-two load sizes
smaller than the max load size are valid. For examples, this is not the
case for x86(32bit)+sse2.

Fixes PR34887.

llvm-svn: 316905

show more ...


# 5c2aecef 26-Oct-2017 Eugene Zelenko <eugene.zelenko@gmail.com>

[Transforms] Revert r316630 changes in Scalar/MergeICmps.cpp to fix broken build bots (NFC).

llvm-svn: 316634


# 5adb96cc 26-Oct-2017 Eugene Zelenko <eugene.zelenko@gmail.com>

[Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).

llvm-svn: 316630


# e2e8a5c4 10-Oct-2017 Clement Courbet <courbet@google.com>

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

(fixed stability issues)

This reverts commit d6492333d3b478a1d88163315002022f8d5e58dc.

llvm-svn: 3

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

show more ...


# d12c189e 06-Oct-2017 Clement Courbet <courbet@google.com>

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

Still a few stability issues on windows.

This reverts commit 67e3db9bc121ba244e20337aabc7cf341a62b54

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

show more ...


12345