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

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 1 02:43:41 PDT 2018


samparker added a comment.

Yes exactly, I would like to use these for loops. In ARMCodeGenPrepare I need to insert truncs to keep the IR legal, although I've already proved that the value is already zero extended. In those cases I want to use these intrinsics to carry that knowledge through. So it's not trying to work around the lack of info of target specific nodes. Another idea I wondered about was adding flags to instructions, but that seems far more intrusive.


https://reviews.llvm.org/D50079





More information about the llvm-commits mailing list