[PATCH] D31821: Remove redundant copy in recurrences
Taewook Oh via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 13:14:55 PDT 2017
twoh added a comment.
@wmi Thank you for your reply. I agree on you that we should consider tied operand group, and as @qcolombet mentioned in the previous comment, if tie operand information is already available before this pass, I'd like to discuss where would be the best place to implement this.
I'm afraid I couldn't understand your second point. In the example there is a recurrence cycle of vreg0-->vreg13-->vreg3-->vreg10-->vreg0 as well, and what this patch does is commuting (vreg0, vreg1) and (vreg2, vreg10) to remove the copy. Did I miss something?
https://reviews.llvm.org/D31821
More information about the llvm-commits
mailing list