[PATCH] D93610: [LegalizeType] When it widens mgather in LegalizeType, set MemoryType equal to ResultType

Bing Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 20 22:30:38 PST 2020


yubing created this revision.
Herald added subscribers: pengfei, hiraditya.
yubing requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

When it widens mgather in LegalizeType, set MemoryType equal to ResultType.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93610

Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  llvm/test/CodeGen/X86/masked_gather.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93610.313018.patch
Type: text/x-patch
Size: 15954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201221/31be9071/attachment.bin>


More information about the llvm-commits mailing list