Displaying 1 result from an estimated 1 matches for "cst_offset".
Did you mean:
dst_offset
2012 Feb 10
1
[LLVMdev] Remove redundant code after frame index elimination
...st
like ebp in x86). Its result is stored in another register which is used
by the load/store instructions. Nevertheless, this operation gives me
redundant subs that I would like to remove after all fi references have
been eliminated. For example:
r = load fi<1> -->
{
sp = subm fi, cst_offset
r = load sp
}
...
store fi<1>, val -->
{
sp = subm fi, cst_offset
store sp, val
}
Any advice on what is the better solution to remove that code ? Should I
create a custom pass after the prolog/epilog insertion one ?
Ivan