[PATCH] D50079: [ARM] arm.assert.zeroext intrinsics

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 31 19:47:19 PDT 2018


efriedma added a comment.

These clearly shouldn't be target-specific.

Usually, if there isn't loop involved, SelectionDAGBuilder can figure out leading zeros itself by using computeKnownBits on the live-out values.  Are you sure you can't solve whatever issue you're looking at by improving ARMTargetLowering::computeKnownBitsForTargetNode?


https://reviews.llvm.org/D50079





More information about the llvm-commits mailing list