It turns out that isConstFalseVal doesn't add any value over just
using isNullOrNullSplat, so it makes sense to remove redundant
interfaces.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
It would be nice if we could have a (scalable) vector test that uses SPLAT_VECTOR that exercises this function in some way.
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | ||
---|---|---|
3228–3229 | It's clearly not guarded by any of the unit tests, but I think this case is now no longer supported? (i.e. if the value is 0b11111110, it should still return true if getBooleanContents returns UndefinedBooleanContent). |
It's clearly not guarded by any of the unit tests, but I think this case is now no longer supported? (i.e. if the value is 0b11111110, it should still return true if getBooleanContents returns UndefinedBooleanContent).