llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.06k stars 11.98k forks source link

[Attributor] Cleanup and upstream `Attribute::MaxObjectSize` #179

Open jdoerfert opened 4 years ago

jdoerfert commented 4 years ago

We introduced a new llvm::Attribute in the Attributor tutorial (https://youtu.be/HVvvCSSLiTw) which never made it out of the prototype stage: https://github.com/jdoerfert/llvm-project/tree/feature/max_obj_size

The meaning of the attribute is described in the tutorial along with the rational, what code is there, and what needs to be done (to some degree).

fahadnayyar commented 4 years ago

Hi all, I have started working towards this issue. I will submit the patch for review soon.