This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Define vlxe/vsxe/vsuxe intrinsics.
ClosedPublic

Authored by khchen on Dec 17 2020, 10:25 AM.

Details

Summary

Define vlxe/vsxe intrinsics and lower to vlxei<EEW>/vsxei<EEW> instructions.

Diff Detail

Event Timeline

khchen created this revision.Dec 17 2020, 10:25 AM
khchen requested review of this revision.Dec 17 2020, 10:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 17 2020, 10:25 AM
craig.topper added inline comments.Dec 17 2020, 10:47 AM
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
1618

Why is this !sra not !srl?

1619

eqaul->equal

khchen updated this revision to Diff 312670.Dec 17 2020, 7:29 PM

address @craig.topper's comments. thanks!

craig.topper accepted this revision.Dec 18 2020, 1:53 PM

LGTM with those comments fixed

llvm/include/llvm/IR/IntrinsicsRISCV.td
177

stride here should be index?

185

stirde he should be index?

This revision is now accepted and ready to land.Dec 18 2020, 1:53 PM
khchen updated this revision to Diff 312934.Dec 19 2020, 6:28 AM

fixed, thanks again!

khchen updated this revision to Diff 312936.Dec 19 2020, 6:51 AM

fix typo

This revision was landed with ongoing or failed builds.Dec 19 2020, 6:52 AM
This revision was automatically updated to reflect the committed changes.