This is an archive of the discontinued LLVM Phabricator instance.

[X86] Remove flag setting ISD nodes from computeKnownBitsForTargetNode
ClosedPublic

Authored by craig.topper on Aug 13 2017, 4:20 PM.

Details

Summary

The flag result is an i32 type. But its only really used for connectivity. I don't think anything even assumes a particular format. We don't ever do any real operations on it. So known bits don't help us optimize anything.

My main motivation is that the UMUL behavior is actually wrong. I was going to fix this in D36654, but then realized there was just no reason for it to be here.

Diff Detail

Event Timeline

RKSimon accepted this revision.Aug 14 2017, 2:48 AM

LGTM

This revision is now accepted and ready to land.Aug 14 2017, 2:48 AM
This revision was automatically updated to reflect the committed changes.