Details
Diff Detail
Event Timeline
llvm/lib/Analysis/ValueTracking.cpp | ||
---|---|---|
4078 | I think there might be subtle bugs lurking in the way you pass InterestedClasses into recursive calls. E.g if InterestedClasses was fcQNan here, and the recursive call returned fcNone, you would conclude the operand is not nan - but in reality it could still be snan. If I'm right that that's a bug then you could fix this case by passing fcNan into the recursive call. Anyway this is pre-existing. |
llvm/lib/Analysis/ValueTracking.cpp | ||
---|---|---|
4078 | OK, if we always return conservatively correct info the for the un-interested-classes then I guess there's no bug. |
I think there might be subtle bugs lurking in the way you pass InterestedClasses into recursive calls. E.g if InterestedClasses was fcQNan here, and the recursive call returned fcNone, you would conclude the operand is not nan - but in reality it could still be snan.
If I'm right that that's a bug then you could fix this case by passing fcNan into the recursive call.
Anyway this is pre-existing.