[PATCH] D41944: [LLVM][IR][LIT] support of 'no-overflow' flag for sdiv\udiv instructions

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 18:16:47 PST 2018


sanjoy added a comment.

This looks like something that will be better served by an intrinsic (`llvm.safe_(s|u)div` or something like that), at least to begin with.  Experimental intrinsics are a low-cost preferred way of trying out ideas like this without changing fundamental IR semantics.


Repository:
  rL LLVM

https://reviews.llvm.org/D41944





More information about the llvm-commits mailing list