This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Remove calling convention assertion from LowerFormalArguments()
ClosedPublic

Authored by tstellarAMD on Oct 1 2015, 3:36 PM.

Details

Summary

We currently ignore the calling convention, so there is no real reason to
assert on the calling convention of functions.

Diff Detail

Repository
rL LLVM

Event Timeline

tstellarAMD retitled this revision from to AMDGPU/SI: Remove calling convention assertion from LowerFormalArguments().
tstellarAMD updated this object.
tstellarAMD added a reviewer: arsenm.
tstellarAMD added a subscriber: llvm-commits.
arsenm accepted this revision.Oct 1 2015, 3:38 PM
arsenm edited edge metadata.

LGTM. Ideally we would never get a C calling convention. I think the test should also include a spir_func

This revision is now accepted and ready to land.Oct 1 2015, 3:38 PM
This revision was automatically updated to reflect the committed changes.