Details
Diff Detail
Event Timeline
Err yes indeed, I did not upload the latest version of the diff :/ I'll upload the full diff tomorrow.
include/llvm/Analysis/ValueLattice.h | ||
---|---|---|
28 | I think this should no longer be called LVILatticeVal, now that it is used outside LVI. | |
85 | Since you're moving the code anyway, can you also run clang-format over this file? | |
180 | Now that this lives outside LVI, we need to be clearer about what this actually does (modifies *this to approximate both *this and RHS). | |
234 | This can also work for:
| |
246 | Why doesn't ConstantRange::makeSatisfyingICmpRegion work for ICMP_NE and ICMP_EQ? Please also add a test case to unittests/ for this function. |
@sanjoy thank you very much for the review and sorry for taking a while to update the patch.
LGTM with nits
include/llvm/Analysis/ValueLattice.h | ||
---|---|---|
27 | Let's call this ValueLatticeElement. It is a bit verbose, but I think it is to the point, and with auto the more verbose type name probably won't bite us as much. | |
176 | Please elaborate on what "Merge" means in this context. | |
244 | Is the LLVM_ATTRIBUTE_USED still needed? |
include/llvm/Analysis/ValueLattice.h | ||
---|---|---|
244 | Nope it is not I think. I've removed it. |
Let's call this ValueLatticeElement. It is a bit verbose, but I think it is to the point, and with auto the more verbose type name probably won't bite us as much.