This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][NFC] Make lowerINSERT_VECTOR_ELT() more readable
ClosedPublic

Authored by hsmhsm on May 1 2022, 12:26 AM.

Details

Summary

by moving around the code and by adding more comments, which would
later help during any required clean-up.

Diff Detail

Event Timeline

hsmhsm created this revision.May 1 2022, 12:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 1 2022, 12:26 AM
hsmhsm requested review of this revision.May 1 2022, 12:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 1 2022, 12:26 AM
arsenm added inline comments.May 1 2022, 3:25 PM
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
5811–5812

Don't see the point of this todo. We don't have bit operations > 64 bit so wouldn't want to handle them here

5830

Why refer to another comment instead of just adding the comment here in the first place?

hsmhsm updated this revision to Diff 426326.May 1 2022, 9:01 PM

Fix review comments.

hsmhsm marked 2 inline comments as done.May 1 2022, 9:02 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 2 2022, 7:31 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.