This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Add baseline tests for CGP div expansion
ClosedPublic

Authored by arsenm on Feb 11 2020, 12:16 PM.

Details

Reviewers
rampitec
Summary

These cases are harmed by expanding division early in the IR, before
DAGCombiner.

Diff Detail

Event Timeline

arsenm created this revision.Feb 11 2020, 12:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 11 2020, 12:16 PM
rampitec accepted this revision.Feb 11 2020, 12:47 PM
This revision is now accepted and ready to land.Feb 11 2020, 12:47 PM
kosarev added a subscriber: kosarev.Oct 3 2023, 8:10 AM
kosarev added inline comments.
llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
5627

Can we compute this at compile time?

Herald added a project: Restricted Project. · View Herald TranscriptOct 3 2023, 8:10 AM
arsenm added inline comments.Oct 3 2023, 8:21 AM
llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
5627

Yes, should be foldable