[PATCH] D124618: [SelectionDAG] Use correct boolean representation in FoldConstantArithmetic

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 28 08:35:57 PDT 2022


craig.topper added a comment.

In D124618#3480230 <https://reviews.llvm.org/D124618#3480230>, @craig.topper wrote:

> I want to look more closely at this. Aren't the extended bits are going into a build_vector or splat_vector that is supposed to ignore the extra bits because they are past the size of the result element type?

Oh, I see. I missed that we produce an i1 setcc result. So it's not extending past the element result type.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124618/new/

https://reviews.llvm.org/D124618



More information about the llvm-commits mailing list