Builtin reordered

Hi,

I have an issue with some builtins that are reordered (during instructions selection it seems) with others instructions and/or others builtins.
Is it normal?
How could I prevent it from happening?

Thanks,
Romaric

If they don't have side effects, sure. Can you give an example of where
it creates problems for you.

Joerg

Hi Joerg,

Thanks for the answer.
My problem is that the builtin reordered have side effects.
I've put the the "hasSideEffects = 1" parameters in the instruction description. Maybe I also should put something in the "Intrinsics.td" description of the builtin, but I can't find what.

Thanks,
Romaric

----- Mail original -----