This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Adjust "invalid.ll.bc" tests to check for AttrKind #255 not #63
ClosedPublic

Authored by jdoerfert on Jul 10 2019, 2:20 PM.

Details

Summary

We are about to add enum attributes with AttrKind numbers >= 63. This
means we cannot use AttrKind #63 to test for an invalid attribute number
in the RAW format anymore. This patch changes the number of an invalid
attribute to #255. There is no change to the character of the tests.

Diff Detail

Repository
rL LLVM

Event Timeline

jdoerfert created this revision.Jul 10 2019, 2:20 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 10 2019, 2:20 PM
lebedev.ri accepted this revision.Jul 10 2019, 2:26 PM

I have no context here, but this roughly matches what had previously happened to these lines, so should be fine i guess?

This revision is now accepted and ready to land.Jul 10 2019, 2:26 PM
This revision was automatically updated to reflect the committed changes.