[PATCH] D29111: [SimplifyCFG] Do not sink and merge inline-asm instructions

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 09:26:48 PST 2017


Sounds reasonable. Merged in r293074.

Cheers,
Hans

On Tue, Jan 24, 2017 at 11:06 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:
> Thanks for the review, committed in r293025.
>
> Can we merge this into 4.0?
>
> On Tue, Jan 24, 2017 at 9:02 PM, David Majnemer via Phabricator
> <reviews at reviews.llvm.org> wrote:
>>
>> majnemer accepted this revision.
>> majnemer added a comment.
>> This revision is now accepted and ready to land.
>>
>> LGTM
>>
>>
>>
>> ================
>> Comment at: lib/Transforms/Utils/SimplifyCFG.cpp:1440
>> +
>> +    // Conservatively return false if I is an inline-asm instruction.
>> +    if (const auto *C = dyn_cast<CallInst>(I))
>> ----------------
>> I'd mention the constraint issue, it quickly explains why this is needed.
>>
>>
>> https://reviews.llvm.org/D29111
>>
>>
>>
>


More information about the llvm-commits mailing list