This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Precommit add_shr_carry test
AbandonedPublic

Authored by Pierre-vh on Nov 16 2022, 1:00 AM.

Details

Reviewers
arsenm
Summary

Precommit a test for a future DAG/GISel combine.

Diff Detail

Event Timeline

Pierre-vh created this revision.Nov 16 2022, 1:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2022, 1:00 AM
Pierre-vh requested review of this revision.Nov 16 2022, 1:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2022, 1:00 AM
arsenm added inline comments.Nov 16 2022, 8:37 AM
llvm/test/CodeGen/AMDGPU/add_shr_carry.ll
53

Add some negative cases where the shift amount is wrong, and the type sizes aren't right

188

I guess this is OK, but also add an actual i96 test if we don't have that already?

241–242

Use named values

arsenm requested changes to this revision.Nov 16 2022, 2:57 PM
arsenm added inline comments.
llvm/test/CodeGen/AMDGPU/add_shr_carry.ll
53

Also as noted in the other review, multi use test?

This revision now requires changes to proceed.Nov 16 2022, 2:57 PM