This is a pretty straight forward transformation to change a static member into an instance member.
Details
- Reviewers
- None
Diff Detail
Event Timeline
lib/CodeGen/InterferenceCache.h | ||
---|---|---|
174 | I don't think you should make the Cursor object larger here. One of three options should be employed:
|
lib/CodeGen/InterferenceCache.h | ||
---|---|---|
174 | Unfortunately I don't think any of these options work without significant reworking of the code.
Thoughts? |
lib/CodeGen/InterferenceCache.h | ||
---|---|---|
174 | Mostly frustration. ;] This code isn't making this easy. The code clearly isn't *using* the SlotIndex members for the "no" case so I think this is just a badly designed set of data structures. I think you'll have to do the substantial changes here. I would try to remove the use of a pointer to a special BlockInterference object as the sigil for "no interference". Instead I would try to use a null pointer or a separate flag (potentially embedded into the pointer via PointerUnion). Sorry, this one just looks like one of the hard ones. |
That is a totally reasonable answer. I'll start working on the larger patches.
Thanks,
-Chris
I don't think you should make the Cursor object larger here. One of three options should be employed: