forked from OSchip/llvm-project
![]() nsw, nuw, and exact carry implicit assumptions about their operands, so we need to clear those after trivializing a value. We decided there was no danger for llvm.assume or metadata, so there's just a comment about that. This fixes miscompiles as shown in: https://bugs.llvm.org/show_bug.cgi?id=33695 https://bugs.llvm.org/show_bug.cgi?id=34037 Differential Revision: https://reviews.llvm.org/D36592 llvm-svn: 310779 |
||
---|---|---|
.. | ||
basic.ll | ||
dbg-multipleuses.ll | ||
dce-pure.ll | ||
invalidate-assumptions.ll | ||
order.ll | ||
pr26587.ll |