[PATCH] D99066: [AutoUpgrade] Take unnamed types into account.

Jeroen Dobbelaere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 03:52:14 PDT 2021


jeroen.dobbelaere created this revision.
jeroen.dobbelaere added reviewers: fhahn, nikic, efriedma.
Herald added subscribers: dexonsmith, hiraditya.
jeroen.dobbelaere requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Ensure that we provide access to the `Module` when checking if a rename is necessary.

This fixes the issue that was detected by https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32288
(as mentioned by @fhahn), after committing D91250 <https://reviews.llvm.org/D91250>.


https://reviews.llvm.org/D99066

Files:
  llvm/lib/IR/AutoUpgrade.cpp
  llvm/test/Assembler/auto_upgrade_intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99066.332239.patch
Type: text/x-patch
Size: 5750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210322/8af2a5d8/attachment.bin>


More information about the llvm-commits mailing list