Reuse the machinery built for replacing global arrays to replace malloc/free as well. Example replacement that was missed earlier:
ll call void bitcast (void (i8*)* @free to void (%struct.fson_string*)*) (%struct.fson_string* %13) #2
Differential D36825
[Polly] [ManagedMemoryRewrite] Rewrite malloc, free correctly so it works inside bitcasts as well. bollu on Aug 17 2017, 5:13 AM. Authored by
Details
Reuse the machinery built for replacing global arrays to replace malloc/free as well. Example replacement that was missed earlier: ll call void bitcast (void (i8*)* @free to void (%struct.fson_string*)*) (%struct.fson_string* %13) #2
Diff Detail
Event Timeline
|