[PATCH] D115354: [CodeGen] Improve SelectionDAGBuilder lowering code for get.active.lane.mask intrinsic

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 10 01:14:44 PST 2021


dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.

Seems OK from what I can tell (https://alive2.llvm.org/ce/z/C381E6). It is assuming that a usubsat is present, but the old code was assuming uadd.with.overflow. And we don't expect this to come up in a lot of situations, only unrolled vector loops and those tend to start at 0.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115354



More information about the llvm-commits mailing list