Hi, I noticed that cand_chain (first_interp/next_interp) is not maintained correctly in slsr_process_copy/slsr_process_cast (now slsr_process_copycast). This one fixes the issue, as well as records the "first" cand in stmt_cand_map.
Hi Bill, is this correct or I misunderstood the code? Bootstrap and test on x86_64. Thanks, bin 2019-05-15 Bin Cheng <bin.ch...@linux.alibaba.com> * gimple-ssa-strength-reduction.c (slsr_process_copycast): Record information about next_interp and the first cand.
0003-Correct-cand_chain-and-cand_stmt_map-for-copy-cast.patch
Description: Binary data