Details
Diff Detail
Event Timeline
llvm/lib/Analysis/ValueTracking.cpp | ||
---|---|---|
4549 | I think these resets aren't necessary (and probably aren't in the computeKnownBits version either) |
llvm/lib/Analysis/ValueTracking.cpp | ||
---|---|---|
4538 | This assert should be moved out of the switch statement, I think. |
llvm/lib/Analysis/ValueTracking.cpp | ||
---|---|---|
4113 | Yes. I started by copying the raw signature for computeKnownBits. Probably should do a cleanup and replace the arguments at some point. The ordering doesn't make much sense (e.g. Depth before the others seems like a shortcut taken years ago). Plus TLI not being part of Query also doesn't make much sense | |
4606–4607 | Yes, I think so |
Wouldn't it be simpler to make all these computeKnownFPClass functions return KnownFPClass?