[LLVMdev] Fwd: Advice on MachineMoves and SEH

Anton Korobeynikov
Sun, 05 Jun 2011 07:21:09 -0000

---------- Forwarded message ----------
From: Anton Korobeynikov <anton at korobeynikov.info>
Date: Sun, Jun 5, 2011 at 11:20
Subject: Re: [LLVMdev] Advice on MachineMoves and SEH
To: Charles Davis <cdavis at mymail.mines.edu>


Chip,

> Well, I've mulled it over for a while, and I've decided to take the
ARM
> EH approach of marking frame instructions and recognizing them later
> during MachineInstr -> MCInst lowering. Given the trouble of teaching
> the various late passes about pseudo-instructions, it just seemed like
> the best choice to me.
Note that you will still have to preserve the "frame-related" marker
during various expansion phases. E.g. in ARM case this was true for
formation of multiple load/store instructions, etc.

--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University