[PATCH] D122471: [IR] Require intrinsic struct return type to be anonymous
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 25 03:38:58 PDT 2022
nikic created this revision.
nikic added a reviewer: opaque-pointers.
Herald added subscribers: dexonsmith, pengfei, hiraditya.
Herald added a project: All.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This is an alternative to D122376 <https://reviews.llvm.org/D122376>. Rather than working around the problem, this patch requires that struct return type in intrinsics are anonymous/literal and adds auto-upgrade code to convert existing uses of intrinsics with named struct types.
https://reviews.llvm.org/D122471
Files:
llvm/lib/IR/AutoUpgrade.cpp
llvm/lib/IR/Function.cpp
llvm/test/Bitcode/intrinsics-struct-upgrade.ll
llvm/test/Bitcode/intrinsics-struct-upgrade.ll.bc
llvm/test/CodeGen/X86/2009-04-12-FastIselOverflowCrash.ll
llvm/test/CodeGen/X86/fast-isel-extract.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122471.418174.patch
Type: text/x-patch
Size: 9150 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220325/5450b3f0/attachment.bin>
More information about the llvm-commits
mailing list