This is an archive of the discontinued LLVM Phabricator instance.

[TableGen] Eliminte source location from CodeInit
ClosedPublic

Authored by Paul-C-Anagnostopoulos on Nov 22 2020, 7:02 AM.

Details

Summary

This is the first step in eliminating the 'code' type from TableGen. The CodeInit class, which represents a code value, has a slot for the source location of the code. This patch eliminates that slot.

The only backend that uses this source location is CICombinerEmitter. I reworked it so that it does not use the location.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptNov 22 2020, 7:02 AM
Paul-C-Anagnostopoulos requested review of this revision.Nov 22 2020, 7:02 AM

I deleted some obsolete lines of code in Record.h.

lattner accepted this revision.Nov 22 2020, 8:37 AM
This revision is now accepted and ready to land.Nov 22 2020, 8:37 AM