[LLVMdev] Intrinsics property which cannot be modified by the optimiser.
Ambuj Agrawal
ambujbwt at gmail.com
Wed Apr 29 08:30:35 PDT 2015
I am using the default intrinsic property (i.e. IntrWriteMem) so that it is
not modified by the optimiser.
However, I want to use intrinsic property "IntrNoMem" but also want to make
sure that the intrinsic is not modified by the optimiser. (i.e. it should
have the effect similar to volatile asm (".abc"))
Does anyone know if there is any way by which I can use the intrinsic
property "IntrNoMem" and also make sure that the intrinsic is not modified
by the optimiser?
Thanks,
Ambuj
On Wed, Apr 29, 2015 at 4:23 PM, Ambuj Agrawal <ambujbwt at gmail.com> wrote:
> I am using the default intrinsic property (i.e. IntrWriteMem) so that it
> is not modified by the optimiser.
>
> However, I want to use intrinsic property "IntrNoMem" but also want to
> make sure that the intrinsic is not modified by the optimiser. (i.e. it
> should have the effect similar to volatile asm (".abc"))
>
> Thanks,
> Ambuj
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150429/3370bf90/attachment.html>
More information about the llvm-dev
mailing list