This is an archive of the discontinued LLVM Phabricator instance.

DAG: Enhance isKnownNeverNaN
ClosedPublic

Authored by arsenm on Jul 23 2018, 4:12 AM.

Details

Reviewers
scanon
nhaehnle
Summary

Add a parameter for testing specifically for
sNaNs - at least one instruction pattern on AMDGPU
needs to check specifically for this.

Also handle more cases, and add a target hook
for custom nodes, similar to the hooks for known
bits.

I'll merge D49561 into this later

Diff Detail

Event Timeline

arsenm created this revision.Jul 23 2018, 4:12 AM
arsenm updated this revision to Diff 156754.Jul 23 2018, 5:13 AM

canonicalize always quiets (I think this applies to the conversions too?)

arsenm updated this revision to Diff 156762.Jul 23 2018, 5:53 AM

Fully eliminate broken AMDGPU version

arsenm updated this revision to Diff 157295.Jul 25 2018, 9:45 AM

Handle more operations correctly

This revision is now accepted and ready to land.Jul 31 2018, 3:40 AM
arsenm closed this revision.Aug 3 2018, 11:28 AM

r338910