<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div><br></div><div>This patch implements LLVM intrinsics for safe division: <i>llvm.safe.sdiv.iN</i>, <i>llvm.safe.udiv.iN</i>, <i>llvm.safe.srem.iN</i>, and <i>llvm.safe.urem.iN</i> (<i>iN</i> is <i>i8</i>, <i>i16</i>, <i>i32</i>, or <i>i64</i>). In some extent, they are similar to intrinsics for arithmetic with overflow checks (e.g. <i>llvm.sadd.with.overflow</i>).</div><div><br></div><div></div></body></html>