This is an archive of the discontinued LLVM Phabricator instance.

[IR] [TableGen] Cleanup pass over the IR TableGen files
ClosedPublic

Authored by Paul-C-Anagnostopoulos on Nov 6 2020, 7:31 AM.

Details

Summary

This is the first revision in a series of revisions to clean up existing TableGen files. I'm starting with the IR files.

These files are quite clean. I checked the intrinsics for AArch64 and AMDGPU.

Diff Detail

Event Timeline

Paul-C-Anagnostopoulos requested review of this revision.Nov 6 2020, 7:31 AM
tstellar added inline comments.Nov 6 2020, 7:39 AM
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
514

I think fields like this that represent bit fields in the instruction should remain 1/0.

llvm/include/llvm/IR/IntrinsicsAMDGPU.td
514

Agreed. Thanks for checking this.

DA is an instruction field, not a boolean.

I will auto-LGTM this revision in 24 hours.

Auto-LGTM. I will move on to cleaning up more IR files.

This revision is now accepted and ready to land.Nov 8 2020, 11:45 AM