This is an archive of the discontinued LLVM Phabricator instance.

DAG: Fix missing legalization for any_extend_vector_inreg operands
ClosedPublic

Authored by arsenm on Mar 30 2017, 6:25 PM.

Details

Reviewers
RKSimon
bogner

Diff Detail

Event Timeline

arsenm created this revision.Mar 30 2017, 6:25 PM
RKSimon edited edge metadata.Apr 3 2017, 6:03 AM
RKSimon added a subscriber: llvm-commits.

Please don't forgot to subscribe cfe/llvm-commits on your tickets.

lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
1681

We don't normally do this so I think you need to comment this properly - explaining that *_EXTEND_VECTOR_INREG only reference the lower half of the input and that splitting the result has the same effect as splitting the input operand.

arsenm updated this revision to Diff 93881.Apr 3 2017, 10:04 AM

Add comment

RKSimon accepted this revision.Apr 3 2017, 2:12 PM

Thanks, LGTM

This revision is now accepted and ready to land.Apr 3 2017, 2:12 PM
arsenm closed this revision.Apr 3 2017, 2:41 PM

r299389