[llvm-dev] instruction-duplication

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Wed Nov 14 18:23:13 PST 2018


Here's the loop unroller - probably somewhere in there it duplicates
instructions to achieve its goals:
http://llvm.org/doxygen/LoopUnrollPass_8cpp_source.html

On Wed, Nov 14, 2018 at 6:18 PM 韩玉 <1090366769 at qq.com> wrote:

> Hi, I duplicate for instructions redundancy and soft-error detection. For
> example:
> AND A1, A2, A3;(master instruction)
> AND  B1, B2, B3;(shadow instruction) (instruction  redundancy)
> CMPEQ A3, B3, err;(comparison instruction) (soft-error detection )
> I want to find the complete code but code samples is ok! Thank you very
> much!
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "David Blaikie"<dblaikie at gmail.com>;
> *发送时间:* 2018年11月14日(星期三) 晚上11:17
> *收件人:* "韩玉"<1090366769 at qq.com>;
> *抄送:* "llvm-dev"<llvm-dev at lists.llvm.org>;
> *主题:* Re: [llvm-dev] instruction-duplication
>
> Duplication for what reason? Instructions are duplicated in
> transformations such as loop unrolling, which llvm does. If you're looking
> for code samples that'd be where I would start
>
> On Wed, Nov 14, 2018, 1:08 AM 韩玉 via llvm-dev <llvm-dev at lists.llvm.org
> wrote:
>
>> Hi, I want to find a pass to implement instruction duplication. Would you
>> give me some links or related files? Thank you very much!
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181114/1614bc11/attachment.html>


More information about the llvm-dev mailing list