[llvm] r206732 - Implement builtins for safe division: safe.sdiv.iN, safe.udiv.iN, safe.srem.iN,
Nick Lewycky
nicholas at mxc.ca
Mon Apr 21 08:17:12 PDT 2014
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