This is an archive of the discontinued LLVM Phabricator instance.

[ARM][bfloat] Removing lowering of bfloat arguments and returns from Clang's CodeGen
ClosedPublic

Authored by stuij on Jun 15 2020, 4:13 AM.

Details

Summary

As part of moving the argument lowering handling for bfloat arguments and
returns to the backend, this patch removes the code that was responsible for
handling the coercion of those arguments in Clang's Codegen.

Diff Detail

Event Timeline

stuij created this revision.Jun 15 2020, 4:13 AM
stuij updated this revision to Diff 270721.Jun 15 2020, 5:00 AM

adjust arm bfloat mangle tests for these changes

chill added a reviewer: chill.Jun 15 2020, 6:47 AM
stuij updated this revision to Diff 271130.Jun 16 2020, 9:56 AM

We only remove clang-side lowering for non-vector bfloat types.

Pretty straightforward, LGTM. I'd suggest rewording the title (presumably commit message summary) into something like "Do not coerce bfloat arguments and returns to integers", as we're obviously still lowering C and C++ to LLVM LR.§§

chill accepted this revision.Jun 18 2020, 3:12 AM
This revision is now accepted and ready to land.Jun 18 2020, 3:12 AM
This revision was automatically updated to reflect the committed changes.