[LLVMdev] unmodeled side effects

Richard Osborne richard at xmos.com
Fri Jun 24 02:40:23 PDT 2011


On 24/06/11 06:08, shreyas krishnan wrote:
> Hi
>     A  bunch of instructions that I have defined in tablegen files get
> tagged with unmodeledSideEffect property. I have defined these
> instructions with no corresponding dag patterns. Is there a way i can
> avoid this property and say they do not have any side effects
>
> thanks
> shrey
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Try setting neverHasSideEffects to 1:

let neverHasSideEffects = 1  in
def MYINSTRUCTION : ...

-- 
Richard Osborne | XMOS
http://www.xmos.com




More information about the llvm-dev mailing list