This is an archive of the discontinued LLVM Phabricator instance.

[5/11][POC][Clang][RISCV] Define tuple type variant of vlseg2e32ff
ClosedPublic

Authored by eopXD on Apr 10 2023, 12:40 AM.

Details

Summary

For the cover letter of this patch-set, please checkout D146872.

Depends on D147774.

This is the 5th patch of the patch-set.

This patch is a proof-of-concept and will be extended to full coverage
in the future. Currently, the old non-tuple unit-stride fault-first
segment load is not removed, and only signed integer unit-stride
fault-first segment load of NF=2, EEW=32 is defined here.

Diff Detail

Event Timeline

eopXD created this revision.Apr 10 2023, 12:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 10 2023, 12:40 AM
eopXD requested review of this revision.Apr 10 2023, 12:40 AM
eopXD retitled this revision from [5/N][POC][Clang] Define tuple type variant of vlseg2e32ff to [5/11][POC][Clang][RISCV] Define tuple type variant of vlseg2e32ff.Apr 10 2023, 12:51 AM
eopXD edited the summary of this revision. (Show Details)
craig.topper added inline comments.Apr 18 2023, 4:46 PM
clang/include/clang/Basic/riscv_vector.td
1619

unsigned Offset = IsMasked ? 1 : 0;
llvm::Value *MaskOperand = IsMasked ? Ops[0] : nullptr;
llvm::Value *PtrOperand = Ops[Offset];
unsigned NewVLOperandIdx = Offset + 1;
llvm::Value *NewVLOperand = Ops[Offset + 1];
...

eopXD updated this revision to Diff 516298.Apr 24 2023, 1:00 AM

Address comments from Craig.

eopXD marked an inline comment as done.Apr 24 2023, 1:00 AM
evandro removed a subscriber: evandro.May 17 2023, 3:54 PM
craig.topper added inline comments.May 18 2023, 10:41 AM
clang/include/clang/Basic/riscv_vector.td
1626

Same comment as previous patch

eopXD updated this revision to Diff 523473.May 18 2023, 11:35 AM
eopXD marked an inline comment as done.

Address comment from Craig.

eopXD updated this revision to Diff 523621.May 18 2023, 5:43 PM

Removed another variable that is too verbose.

This revision is now accepted and ready to land.May 18 2023, 6:24 PM
This revision was landed with ongoing or failed builds.May 22 2023, 4:05 AM
This revision was automatically updated to reflect the committed changes.