Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Change needlessly-smart legality-setting loop to explicit sequence for all legal types.
Comment Actions
Hi Ahmed,
This looks mostly good but I would have expected more test cases for the added patterns.
Moreover, I have one concern on one of the test case. See my inline comment.
Thanks,
-Quentin
test/CodeGen/X86/widen_load-2.ll | ||
---|---|---|
195 | Why do we need two moves here? |
Comment Actions
So there are already testcases (vector-sext/zext.ll).
The endgoal here is to avoid having multiple ways to express extloads (see D6896). Saying these extloads are legal is the first step, and enables the DAGCombines to catch the stupid "(and (zextload))" pattern, as seen in the two tests here.
Thanks for the review!
-Ahmed
test/CodeGen/X86/widen_load-2.ll | ||
---|---|---|
195 | We don't; addressed separately in D6552. |
Why do we need two moves here?