This is an archive of the discontinued LLVM Phabricator instance.

Add n-D vector lowering to LLVM for cast ops
ClosedPublic

Authored by harsh on May 26 2021, 2:29 PM.

Details

Summary

The casting ops (sitofp, uitofp, fptosi, fptoui) lowering currently does
not handle n-D vectors. This patch fixes that.

Diff Detail

Event Timeline

harsh created this revision.May 26 2021, 2:29 PM
harsh requested review of this revision.May 26 2021, 2:29 PM
harsh updated this revision to Diff 348101.May 26 2021, 2:52 PM

Added support for more casting ops

harsh updated this revision to Diff 348104.May 26 2021, 2:53 PM
harsh retitled this revision from Add n-D vector lowering to LLVM for SIToFPOp to Add n-D vector lowering to LLVM for cast ops.
harsh edited the summary of this revision. (Show Details)

Updated commit message

harsh updated this revision to Diff 348107.May 26 2021, 3:11 PM

Add support for fpext, fptrunc and trunci

ThomasRaoux accepted this revision.May 26 2021, 3:14 PM
ThomasRaoux added a subscriber: ThomasRaoux.

Looks good

This revision is now accepted and ready to land.May 26 2021, 3:14 PM
This revision was landed with ongoing or failed builds.May 26 2021, 3:28 PM
This revision was automatically updated to reflect the committed changes.