If one of the operands of an AND is overdefined and the other is
a constant range, the range of the result is limited by the range.
Note that without resolving the way undefs are handled, we generate
invalid code for some functions in the test.
Paths
| Differential D75054
[SCCP] Use ANDs to limit the range of result with overdef operand. AbandonedPublic Authored by fhahn on Feb 24 2020, 7:45 AM.
Details
Diff Detail
Event Timeline
Revision Contents
Diff 246452 llvm/lib/Transforms/Scalar/SCCP.cpp
llvm/test/Transforms/SCCP/range-and.ll
|