This is an archive of the discontinued LLVM Phabricator instance.

[SVE] ACLE: Fix builtins for svdup_lane_bf16 and svcvtnt_bf16_f32_x
ClosedPublic

Authored by sdesmalen on Jun 30 2020, 1:13 PM.

Details

Summary

bfloat16 variants of svdup_lane were missing, and svcvtnt_bf16_x
was implemented incorrectly (it takes an operand for the inactive
lanes)

Diff Detail

Event Timeline

sdesmalen created this revision.Jun 30 2020, 1:13 PM
Herald added a project: Restricted Project. · View Herald Transcript
fpetrogalli accepted this revision.Jul 1 2020, 12:38 PM

LGTM, thank you.

clang/utils/TableGen/SveEmitter.cpp
1265–1279

nit: worth adding a comment in the emitter explaining why these redirections are needed.

This revision is now accepted and ready to land.Jul 1 2020, 12:38 PM
This revision was automatically updated to reflect the committed changes.