[PATCH] D32505: [TargetLowering] fix isConstTrueVal to account for build vector truncation

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 15:11:06 PDT 2017


efriedma added a comment.

> I was hoping that ISD::isConstantSplatVector() would have worked here, but it doesn't

I'd rather fix this, unless you think the check is important for some reason.


https://reviews.llvm.org/D32505





More information about the llvm-commits mailing list