This is an archive of the discontinued LLVM Phabricator instance.

[VP] Add IR expansion for vp.icmp and vp.fcmp
ClosedPublic

Authored by frasercrmck on Mar 14 2022, 4:35 AM.

Details

Summary

These intrinsics are simply expanded to regular icmp/fcmp instructions.

Diff Detail

Event Timeline

frasercrmck created this revision.Mar 14 2022, 4:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2022, 4:35 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
frasercrmck requested review of this revision.Mar 14 2022, 4:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2022, 4:35 AM

add missing NOT to test

rebase & add vp.icmp expansion

frasercrmck retitled this revision from [VP] Add IR expansion for vp.fcmp to [VP] Add IR expansion for vp.icmp and vp.fcmp.Jul 12 2022, 11:47 PM
frasercrmck edited the summary of this revision. (Show Details)
frasercrmck edited the summary of this revision. (Show Details)

rebase

craig.topper accepted this revision.Oct 4 2022, 3:47 PM
craig.topper added inline comments.
llvm/lib/CodeGen/ExpandVectorPredication.cpp
182

Do we need \brief on doxygen comments? There are old patches like https://reviews.llvm.org/D46861 that removed them.

This revision is now accepted and ready to land.Oct 4 2022, 3:47 PM
This revision was landed with ongoing or failed builds.Oct 5 2022, 12:09 AM
This revision was automatically updated to reflect the committed changes.
frasercrmck marked an inline comment as done.Oct 5 2022, 12:11 AM
frasercrmck added inline comments.
llvm/lib/CodeGen/ExpandVectorPredication.cpp
182

Yep, done as a follow up in rGa3a9b0743e31

chapuni added a subscriber: chapuni.Oct 5 2022, 2:27 AM
chapuni added inline comments.
llvm/lib/CodeGen/ExpandVectorPredication.cpp
474

OC is unused in -Asserts.

frasercrmck marked an inline comment as done.Oct 5 2022, 2:35 AM
frasercrmck added inline comments.
llvm/lib/CodeGen/ExpandVectorPredication.cpp
474

Thanks - should be fixed by rG08497a785bfb