[PATCH] D99546: [llvm][ValueMap] Share the value map between MappingContext

Duncan P. N. Exon Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 27 17:22:27 PDT 2021


dexonsmith added inline comments.


================
Comment at: llvm/test/Linker/global-alias-value-map.ll:1
+; RUN: llvm-link %s -o /dev/null
+
----------------
This seems like enough to reproduce:
```
; RUN: llvm-link %s -o /dev/null

@gv0 = constant i64* @alias
@gv1 = constant i64 ptrtoint (i64* @gv1 to i64)

@alias = alias i64, i64* @gv1
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99546/new/

https://reviews.llvm.org/D99546



More information about the llvm-commits mailing list