Re: [PATCH] Fix lower-subreg shift/zext handling (PR rtl-optimization/52113)

2012-02-04 Thread Richard Sandiford
Jakub Jelinek writes: > The lower subreg pass apparently relies on recog_memoized being performed > on all insns in the first pass (analysis), then it replaces some > of the regs with concat and then again on each insn performs recog_memoized > + extract_insn. This works, because recog_memoized t

[PATCH] Fix lower-subreg shift/zext handling (PR rtl-optimization/52113)

2012-02-04 Thread Jakub Jelinek
Hi! The lower subreg pass apparently relies on recog_memoized being performed on all insns in the first pass (analysis), then it replaces some of the regs with concat and then again on each insn performs recog_memoized + extract_insn. This works, because recog_memoized then does nothing, just ret