This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Add FP_CLASS to the add/setcc combine
ClosedPublic

Authored by rampitec on Jun 21 2017, 4:28 PM.

Details

Diff Detail

Repository
rL LLVM

Event Timeline

rampitec created this revision.Jun 21 2017, 4:28 PM
arsenm accepted this revision.Jun 21 2017, 4:41 PM

LGTM. Should this also handle i1 and/or/xor?

This revision is now accepted and ready to land.Jun 21 2017, 4:41 PM

LGTM. Should this also handle i1 and/or/xor?

I'm not sure yet, I have to check the resulting code. Probably it should.

This revision was automatically updated to reflect the committed changes.

LGTM. Should this also handle i1 and/or/xor?

I'm not sure yet, I have to check the resulting code. Probably it should.

Looks like it is beneficial for anything producing i1 and which is an instruction. I.e. not for arguments, constants etc.