This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SME] Non-streaming compatible SCVTF emitted with --force-streaming-compatible-sve
ClosedPublic

Authored by dtemirbulatov on Aug 11 2023, 3:06 AM.

Details

Summary

For scalar integer to float converts currently we emit NEON version of convert instrction for Streaming Compatible SVE, this change fixes the issue,

Diff Detail

Event Timeline

dtemirbulatov created this revision.Aug 11 2023, 3:06 AM
dtemirbulatov requested review of this revision.Aug 11 2023, 3:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2023, 3:06 AM

Thanks Dinar! I've checked out this patch and it fixes our issues downstream.

Matt added a subscriber: Matt.Aug 12 2023, 12:06 AM
sdesmalen accepted this revision.Aug 14 2023, 3:10 AM
This revision is now accepted and ready to land.Aug 14 2023, 3:10 AM
sdesmalen added inline comments.Aug 14 2023, 3:12 AM
llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-to-fp.ll
1126

Sorry, just spotted this after accepting the patch. The name v1i16 seems wrong, because it's just converting an i16 -> f16, not <1 x i16> -> f16. I think you can just remove the v1 from the name.

(same comment for all the other tests below).

This revision was landed with ongoing or failed builds.Aug 14 2023, 6:51 AM
This revision was automatically updated to reflect the committed changes.