Skip to content

Conversation

@martien-de-jong
Copy link
Collaborator

Actually, I checked fmul, not fadd (yet).

static Type *getMinimumFPType(Value *V, bool PreferBFloat) {
// Look through fneg - negation doesn't change the type requirements
Value *X;
if (match(V, m_FNeg(m_Value(X))))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could we have a test?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Cline complied.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

But Konstantin would be happier with a codegen combine.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants