This is an archive of the discontinued LLVM Phabricator instance.

[VE] call isel with stack passing
ClosedPublic

Authored by simoll on Jan 27 2020, 3:51 AM.

Details

Summary

Function calls and stack-passing of function arguments.
Custom lowering, isel patterns and tests.

Diff Detail

Event Timeline

simoll created this revision.Jan 27 2020, 3:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 27 2020, 3:51 AM

Unit tests: unknown.

clang-tidy: unknown.

clang-format: unknown.

Build artifacts: diff.json, console-log.txt

Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.

arsenm added inline comments.Jan 27 2020, 6:16 AM
llvm/lib/Target/VE/VEFrameLowering.cpp
327–328

Default initialize to true and move this case?

340

No else after return

simoll updated this revision to Diff 240609.Jan 27 2020, 8:42 AM
simoll marked 2 inline comments as done.
  • no else after return
  • default UseFP=true

Thanks!

Unit tests: pass. 62222 tests passed, 0 failed and 819 were skipped.

clang-tidy: fail. clang-tidy found 3 errors and 6 warnings. 0 of them are added as review comments below (why?).

clang-format: fail. Please format your changes with clang-format by running git-clang-format HEAD^ or applying this patch.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.

arsenm accepted this revision.Jan 27 2020, 9:56 AM

LGTM with test nits

llvm/test/CodeGen/VE/callstruct.ll
39

Named values

58–63

Shouldn't need any of this metadata?

This revision is now accepted and ready to land.Jan 27 2020, 9:56 AM
simoll updated this revision to Diff 240804.Jan 28 2020, 1:50 AM
simoll marked 2 inline comments as done.
  • named test values / cleaned tests
  • rebased
  • removed VarArg logic (calling convention and function call changes)
This revision was automatically updated to reflect the committed changes.

Unit tests: pass. 62255 tests passed, 0 failed and 827 were skipped.

clang-tidy: fail. clang-tidy found 3 errors and 6 warnings. 0 of them are added as review comments below (why?).

clang-format: fail. Please format your changes with clang-format by running git-clang-format HEAD^ or applying this patch.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.