This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Select BFI patterns with 64-bit ints
ClosedPublic

Authored by arsenm on Feb 6 2018, 12:51 PM.

Details

Reviewers
rampitec

Diff Detail

Event Timeline

arsenm created this revision.Feb 6 2018, 12:51 PM
rampitec added inline comments.Feb 6 2018, 1:19 PM
lib/Target/AMDGPU/SIInstructions.td
1491

Does SReg_64 use mean we could potentially produce illegal scalar result from vector input?
Can we have at least one test where source will depend on a tid?

arsenm added inline comments.Feb 6 2018, 1:23 PM
lib/Target/AMDGPU/SIInstructions.td
1491

No, this will be replaced later anyway. The tests already check VGPR and SGPR sources, with regular functions all of the arguments are VGPRs.

rampitec accepted this revision.Feb 6 2018, 1:31 PM

LGTM

This revision is now accepted and ready to land.Feb 6 2018, 1:31 PM
arsenm closed this revision.Feb 6 2018, 4:23 PM

r324431