This is an archive of the discontinued LLVM Phabricator instance.

Fix Sparc 32bit Lowering to rebundle up v2i32 values.
ClosedPublic

Authored by niravd on Feb 25 2016, 10:08 AM.

Details

Summary

Fix LowerCall to rebundle v2i32 values after lowering and add testcase

Diff Detail

Repository
rL LLVM

Event Timeline

niravd updated this revision to Diff 49086.Feb 25 2016, 10:08 AM
niravd retitled this revision from to Fix Sparc 32bit Lowering to rebundle up v2i32 values..
niravd updated this object.
niravd added a reviewer: jyknight.
jyknight edited edge metadata.Feb 25 2016, 11:19 AM

All reviews must have either cfe-commits or llvm-commits set as a subscriber so it gets sent to the mailing list.

lib/Target/Sparc/SparcISelLowering.cpp
1002 ↗(On Diff #49086)

Please run the diff through clang-format. E.g.
git config --global clangformat.style file
git clang-format HEAD~1

test/CodeGen/SPARC/vector-call.ll
2 ↗(On Diff #49086)

Add a comment as to why this test is here, what it's intended to be testing.

niravd updated this revision to Diff 49105.Feb 25 2016, 11:52 AM
niravd edited edge metadata.

Applied clang-format
Added test case and explanitory comment

niravd updated this revision to Diff 49106.Feb 25 2016, 11:57 AM

Update commit message

jyknight accepted this revision.Feb 25 2016, 3:07 PM
jyknight edited edge metadata.
jyknight added inline comments.
test/CodeGen/SPARC/vector-call.ll
14 ↗(On Diff #49106)

I'd move the CHECKs immediately above the function it's checking rather than below; that's the more common way. Also, space after ";".

This revision is now accepted and ready to land.Feb 25 2016, 3:07 PM
niravd updated this revision to Diff 49207.Feb 26 2016, 10:23 AM
niravd edited edge metadata.

Change placement of CHECK commands in test

This revision was automatically updated to reflect the committed changes.