[llvm] r206732 - Implement builtins for safe division: safe.sdiv.iN, safe.udiv.iN, safe.srem.iN,

Michael Zolotukhin mzolotukhin at apple.com
Mon Apr 21 10:07:53 PDT 2014


Hi,

Here is a patch for the docs. Could you please take a look?

Please note that I’m not a native English speaker, so I’m completely open to any remarks and corrections.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: safe-div-intrin-docs.patch
Type: application/octet-stream
Size: 6941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140421/b168023b/attachment.obj>
-------------- next part --------------


Thanks,
Michael

On Apr 21, 2014, at 7:17 PM, Nick Lewycky <nicholas at mxc.ca> wrote:

> Michael Zolotukhin wrote:
>> Author: mzolotukhin
>> Date: Mon Apr 21 00:33:09 2014
>> New Revision: 206732
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=206732&view=rev
>> Log:
>> Implement builtins for safe division: safe.sdiv.iN, safe.udiv.iN, safe.srem.iN,
>> safe.urem.iN (iN = i8, i16, i32, or i64).
>> 
>> 
>> Added:
>>     llvm/trunk/test/CodeGen/ARM64/SafeDivRemIntrinsics-Opts.ll
>>     llvm/trunk/test/CodeGen/ARM64/SafeDivRemIntrinsics.ll
>>     llvm/trunk/test/CodeGen/X86/SafeDivRemIntrinsics-Opts.ll
>>     llvm/trunk/test/CodeGen/X86/SafeDivRemIntrinsics.ll
>> Modified:
>>     llvm/trunk/include/llvm/IR/Intrinsics.td
>>     llvm/trunk/include/llvm/Target/TargetLowering.h
>>     llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp
>>     llvm/trunk/lib/CodeGen/TargetLoweringBase.cpp
>>     llvm/trunk/lib/Target/ARM64/ARM64ISelLowering.cpp
> 
> Where's the LangRef patch?
> 
> Nick



More information about the llvm-commits mailing list