This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Remove AMDIL.round.nearest intrinsic
ClosedPublic

Authored by arsenm on Jan 19 2016, 1:26 PM.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 45299.Jan 19 2016, 1:26 PM
arsenm retitled this revision from to AMDGPU: Remove AMDIL.round.nearest intrinsic.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
nhaehnle requested changes to this revision.Jan 20 2016, 11:56 AM
nhaehnle added a reviewer: nhaehnle.
nhaehnle added a subscriber: nhaehnle.

The change makes sense, but we should note somewhere (mostly for distribution packagers) that this removes support for Mesa 11.0.x. Not sure where best to note this - definitely in the commit message, but probably also in some release notes file.

This revision now requires changes to proceed.Jan 20 2016, 11:56 AM

The change makes sense, but we should note somewhere (mostly for distribution packagers) that this removes support for Mesa 11.0.x. Not sure where best to note this - definitely in the commit message, but probably also in some release notes file.

Is it expected that released versions of mesa will work with future llvm releases?

arsenm accepted this revision.Jan 20 2016, 1:10 PM
arsenm added a reviewer: arsenm.

I noted the version break in one of the earlier commit logs. D16368 adds a release note change

Is it expected that released versions of mesa will work with future llvm releases?

No, it's not. So documenting this wasn't really necessary, but thanks anyway. :)

nhaehnle accepted this revision.Jan 21 2016, 8:13 AM
nhaehnle edited edge metadata.

I don't think we publish "known working combinations" anywhere, and I do believe we should at least document it - thanks for that!

(And as an aside, I feel we should absolutely avoid changes to LLVM that break Mesa silently. This current change is okay because it isn't silent: using old Mesa will crash and burn with a rather explicit message as soon as the removed intrinsic is encountered. But it's theoretically conceivable that some more subtle LLVM change around ABIs could cause incorrect rendering without an explicit message about it, and that would be bad.)

This revision is now accepted and ready to land.Jan 21 2016, 8:13 AM
arsenm closed this revision.Jan 21 2016, 11:06 AM

r258346

(And as an aside, I feel we should absolutely avoid changes to LLVM that break Mesa silently.

Of course.

This current change is okay because it isn't silent: using old Mesa will crash and burn with a rather explicit message as soon as the removed intrinsic is encountered. But it's theoretically conceivable that some more subtle LLVM change around ABIs could cause incorrect rendering without an explicit message about it, and that would be bad.)

Old Mesa generally doesn't build against new LLVM, which is why that's not a supported combination.