diff options
| author | Matthew Simpson <mssimpso@codeaurora.org> | 2017-10-31 12:34:02 +0000 |
|---|---|---|
| committer | Matthew Simpson <mssimpso@codeaurora.org> | 2017-10-31 12:34:02 +0000 |
| commit | b6915fbfa2d3b3f0324d96cd698fbac13a5cc2f6 (patch) | |
| tree | 7518919b1a479ef05e5d84d892fca9a4281f2cf6 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
| parent | aee3e26c7251a31b65a0e169d06384fe8e708ffe (diff) | |
| download | bcm5719-llvm-b6915fbfa2d3b3f0324d96cd698fbac13a5cc2f6.tar.gz bcm5719-llvm-b6915fbfa2d3b3f0324d96cd698fbac13a5cc2f6.zip | |
[InstCombine] Simplify selects that test cmpxchg instructions
If a select instruction tests the returned flag of a cmpxchg instruction and
selects between the returned value of the cmpxchg instruction and its compare
operand, the result of the select will always be equal to its false value.
Differential Revision: https://reviews.llvm.org/D39383
llvm-svn: 316994
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions

