This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fold CI-specific complex SMRD patterns into existing complex patterns
ClosedPublic

Authored by mareko on Jan 22 2017, 2:16 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

mareko created this revision.Jan 22 2017, 2:16 PM
arsenm added inline comments.Jan 23 2017, 11:39 AM
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
1260 ↗(On Diff #85299)

Can you add a Subtarget->has32BitLiteralSMRDOffset()?

1282 ↗(On Diff #85299)

Ditto

t-tye added a subscriber: t-tye.Mar 22 2017, 6:38 PM
tony-tye removed a subscriber: tony-tye.Mar 22 2017, 6:50 PM
mareko updated this revision to Diff 99596.May 19 2017, 11:05 AM

This is just a cleanup. Also, it adds checking that ByteCount is aligned to 4.

mareko updated this revision to Diff 99601.May 19 2017, 11:13 AM

add one more use of has32BitLiteralSMRDOffset.

arsenm accepted this revision.May 23 2017, 9:30 AM

LGTM

This revision is now accepted and ready to land.May 23 2017, 9:30 AM
This revision was automatically updated to reflect the committed changes.