This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Make skip threshold an option
ClosedPublic

Authored by arsenm on Jul 20 2016, 2:21 PM.

Details

Diff Detail

Event Timeline

arsenm updated this revision to Diff 64760.Jul 20 2016, 2:21 PM
arsenm retitled this revision from to AMDGPU: Make skip threshold an option.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
nhaehnle accepted this revision.Jul 22 2016, 1:49 AM
nhaehnle added a reviewer: nhaehnle.
nhaehnle added a subscriber: nhaehnle.

I assume you're planning to use this in some tests? Anyway, LGTM.

lib/Target/AMDGPU/SILowerControlFlow.cpp
78

You can put the initializer here instead of in the constructor.

This revision is now accepted and ready to land.Jul 22 2016, 1:49 AM
arsenm closed this revision.Jul 25 2016, 12:56 PM

r276680

lib/Target/AMDGPU/SILowerControlFlow.cpp
78

The rest don't do this, and it's probably better to move them all at once if people decide this is better