Skip to content

Conversation

@tqchen
Copy link
Member

@tqchen tqchen commented Feb 24, 2019

This PR contains one step of #2588

  • Basic super analyzer infra.
  • Implement const int bound analyzer
  • Refactored Modular analysis to use the Analyzer

@tqchen
Copy link
Member Author

tqchen commented Feb 24, 2019

@were @ZihengJiang @sgrechanik-h @masahi @merrymercy please help review this PR

@tqchen tqchen changed the title [ARITH] Constant Int Bound Analyzer [ARITH] Analyzer Infra, ConstIntBound, Modular Feb 25, 2019
@tqchen
Copy link
Member Author

tqchen commented Feb 26, 2019

@junrushao1994 can you help to take a look as well?

/*! \brief Number to represent +inf */
static const constexpr int64_t kPosInf = std::numeric_limits<int64_t>::max();
/*! \brief Number to represent -inf */
static const constexpr int64_t kNegInf = -kPosInf;

This comment was marked as resolved.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to make sure -kPosInf == kNegInf

@tqchen tqchen requested a review from junrushao March 1, 2019 02:36
@tqchen
Copy link
Member Author

tqchen commented Mar 1, 2019

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took another look tonight, and felt good that finally we have this infra 👍

@junrushao
Copy link
Member

@were might be interested

@tqchen tqchen merged commit 1eb1dac into apache:master Mar 2, 2019
@tqchen
Copy link
Member Author

tqchen commented Mar 2, 2019

Thanks, @junrushao1994 , this is now merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants