[llvm-dev] Builtin reordered

Romaric Jodin via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 7 23:56:45 PST 2016


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 -----
De: "Joerg Sonnenberger via llvm-dev" <llvm-dev at lists.llvm.org>
À: llvm-dev at lists.llvm.org
Envoyé: Mardi 1 Mars 2016 13:23:17
Objet: Re: [llvm-dev] Builtin reordered

On Tue, Mar 01, 2016 at 08:24:26AM +0100, Romaric Jodin via llvm-dev wrote:
> 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?

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

Joerg
_______________________________________________
LLVM Developers mailing list
llvm-dev at lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list