This is an archive of the discontinued LLVM Phabricator instance.

[mlir][LLVMIR] Add support for translating insert/extractvalue
ClosedPublic

Authored by myhsu on May 5 2022, 11:27 AM.

Details

Summary

Add support for translating llvm::InsertValue and llvm::ExtractValue.

Diff Detail

Event Timeline

myhsu created this revision.May 5 2022, 11:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 5 2022, 11:27 AM
myhsu requested review of this revision.May 5 2022, 11:27 AM
myhsu updated this revision to Diff 427405.May 5 2022, 11:38 AM

Spelling out auto variables.

Mogball requested changes to this revision.May 5 2022, 2:32 PM

thanks for all the additions, by the way

mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
1046

indices is never null (not sure why it's checked elsewhere in the file)

1067

ditto

This revision now requires changes to proceed.May 5 2022, 2:32 PM
myhsu updated this revision to Diff 427763.May 6 2022, 3:02 PM
myhsu marked 2 inline comments as done.

Remove (null) checks on ArrayAttr values

Mogball accepted this revision.May 8 2022, 5:54 PM
This revision is now accepted and ready to land.May 8 2022, 5:54 PM