Page MenuHomePhabricator

[TableGen] Eliminte source location from CodeInit
ClosedPublic

Authored by Paul-C-Anagnostopoulos on Sun, Nov 22, 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 TranscriptSun, Nov 22, 7:02 AM
Paul-C-Anagnostopoulos requested review of this revision.Sun, Nov 22, 7:02 AM

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

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