[PATCH] D76523: [GlobalISel] Combine G_SELECTs of the form (cond ? x : x) into x
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 20 21:40:53 PDT 2020
arsenm added a comment.
In D76523#1934946 <https://reviews.llvm.org/D76523#1934946>, @ekatz wrote:
> I admit, I don't know much about CG, but shouldn't this optimization be done in the IR level? Or were these SELECTS only introduced in CG?
Machine combines are mostly for patterns that can appear after legalization. There will always be a lot of overlap with IR optimizations
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76523/new/
https://reviews.llvm.org/D76523
More information about the llvm-commits
mailing list