This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDag] Merge constant SDNode arithmetic into foldConstantArithmetic
ClosedPublic

Authored by justice_adams on Feb 19 2020, 4:40 PM.

Details

Summary

This is the second patch as part of https://bugs.llvm.org/show_bug.cgi?id=36544

Merging in the ConstantSDNode variant of FoldConstantArithmetic. After this, I will begin merging in FoldConstantVectorArithmetic

I've ensured this patch can build & pass all lit tests in Windows and Linux environments.

Diff Detail

Event Timeline

justice_adams created this revision.Feb 19 2020, 4:40 PM
RKSimon accepted this revision.Feb 24 2020, 7:20 AM

LGTM - cheers

This revision is now accepted and ready to land.Feb 24 2020, 7:20 AM

@RKSimon Thank you for the review, would you be able to commit this for me? I don't have commit access

This revision was automatically updated to reflect the committed changes.