Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove irrelevant references to legacy git repositories from | James Y Knight | 2019-01-15 | 1 | -1/+1 |
| | | | | | | | | | compiler identification lines in test-cases. (Doing so only because it's then easier to search for references which are actually important and need fixing.) llvm-svn: 351200 | ||||
* | [ManagedMemoryRewrite] Rewrite malloc, free correctly inside `Constant`s. | Siddharth Bhat | 2017-08-17 | 1 | -0/+95 |
Reuse the machinery built for replacing global arrays to replace malloc/free as well. Example replacement that was missed earlier: ``` call void \ bitcast (void (i8*)* @free to void (%custom_type*)*) (%custom_type* %13) ``` - Since the `bitcast` is a `ConstantExpr`, `replaceAllUsesWith` would miss this. We don't miss this anymore. Differential Revision: https://reviews.llvm.org/D36825 llvm-svn: 311121 |