[PATCH] D82292: [SelectionDAG] Lower @llvm.get.active.lane.mask to setcc
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 16:11:48 PDT 2020
efriedma added a comment.
It's not hard to write out the overflow check; just replace the ADD with UADDO, and AND the overflow result with the compare result.
Not sure about the quality of the code that would produce. I suspect in common cases, SelectionDAG could prove the UADDO doesn't overflow using known bits.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82292/new/
https://reviews.llvm.org/D82292
More information about the llvm-commits
mailing list