Currently ComputeNumSignBits does early exit while processing some
of the operations (add, sub, mul, and select). This prevents the
function from using AssumptionCacheTracker if passed.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D49759
Fix llvm::ComputeNumSignBits with some operations and llvm.assume ClosedPublic Authored by rampitec on Jul 24 2018, 2:21 PM.
Details Summary Currently ComputeNumSignBits does early exit while processing some
Diff Detail Event Timelinerampitec added a child revision: D49761: [AMDGPU] Use AssumptionCacheTracker in the divrem32 expansion.Jul 24 2018, 3:01 PM This revision is now accepted and ready to land.Jul 25 2018, 7:53 AM Closed by commit rL337936: Fix llvm::ComputeNumSignBits with some operations and llvm.assume (authored by rampitec). · Explain WhyJul 25 2018, 9:39 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 157129 lib/Analysis/ValueTracking.cpp
test/Analysis/ValueTracking/numsignbits-from-assume.ll
|