Re: [PATCH] Handle CLOBBER in reg_overlap_mentioned_p (PR86882)

2018-09-18 Thread Richard Sandiford
Segher Boessenkool writes: > Combine will put CLOBBER (with a non-void mode) anywhere in a pattern > to poison it. reg_overlap_mentioned_p did not handle this. This patch > fixes that. > > Tested on the PR testcase on x86_64-linux; also bootstrapped and > regression checked on powerpc64-linux {-

[PATCH] Handle CLOBBER in reg_overlap_mentioned_p (PR86882)

2018-09-18 Thread Segher Boessenkool
Combine will put CLOBBER (with a non-void mode) anywhere in a pattern to poison it. reg_overlap_mentioned_p did not handle this. This patch fixes that. Tested on the PR testcase on x86_64-linux; also bootstrapped and regression checked on powerpc64-linux {-m32,-m64}. Is this okay for trunk and