[PATCH] D61547: [IR] Disallow llvm.global_ctors and llvm.global_dtors of the 2-field form in textual format

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 17:22:46 PDT 2019


MaskRay added a comment.

In D61547#1495339 <https://reviews.llvm.org/D61547#1495339>, @rnk wrote:

> Presumably `test/Bitcode/upgrade-global-ctors.ll.bc` should remain unchanged, i.e. not be regenerated? We want it to use the pre-upgraded, two field form.


I used llvm-as without this patch to generate it. I added anither test to check the upgrader correctly adds i8* null


Repository:
  rL LLVM

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

https://reviews.llvm.org/D61547





More information about the llvm-commits mailing list