diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-11-18 09:31:41 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-11-18 09:31:41 +0000 |
commit | 6fdb6b8fd4e18c0741a839a11d7dee7077bc7505 (patch) | |
tree | 4b0da2b648a372da566f751f72b95f112d689554 /clang/test/OpenMP/atomic_messages.cpp | |
parent | 1a3327bb626c46c89400f3f03d39fb9bc6157d14 (diff) | |
download | bcm5719-llvm-6fdb6b8fd4e18c0741a839a11d7dee7077bc7505.tar.gz bcm5719-llvm-6fdb6b8fd4e18c0741a839a11d7dee7077bc7505.zip |
InstCombine: Fold away tautological masked compares
It is impossible for (x & INT_MAX) == 0 && x == INT_MAX to ever be true.
While this sort of reasoning should normally live in InstSimplify,
the machinery that derives this result is not trivial to split out.
llvm-svn: 222230
Diffstat (limited to 'clang/test/OpenMP/atomic_messages.cpp')
0 files changed, 0 insertions, 0 deletions