On Thu, Jul 8, 2021 at 7:44 AM Segher Boessenkool <seg...@kernel.crashing.org> wrote: > > On Wed, Jul 07, 2021 at 11:23:48PM +0800, Hongtao Liu wrote: > > On Wed, Jul 7, 2021 at 10:54 PM Segher Boessenkool > > <seg...@kernel.crashing.org> wrote: > > [ snip some old stuff ] > > > > Yeah. This stuff needs a rethink. > > > > > > What is wrong with just using an unspec and clobbers? > > > > > It's partial and **potential clobber**, > > All RTL "clobber" is always a potential clobber, it never guarantees the > existing value does not survive. You can pass it through some unspec to > make this more explicit. You will have to add some hook that CSE can TARGET_INSN_CALLEE_ABI is the hook designed for this.
-- BR, Hongtao