[PATCH] D98169: [PoC][IR] Permit load/store/alloca for struct with the same scalable vectors.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 18 20:07:54 PDT 2021


HsiangKai updated this revision to Diff 331747.
HsiangKai added a comment.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added subscribers: okura, bbn, jdoerfert, kuter.
Herald added a reviewer: baziotis.

- Change the return type of getSizeInBytes() to TypeSize.
- Mark the places we need to take care.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98169

Files:
  llvm/include/llvm/IR/DataLayout.h
  llvm/include/llvm/IR/Type.h
  llvm/lib/Analysis/ConstantFolding.cpp
  llvm/lib/Analysis/MemoryBuiltins.cpp
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/lib/CodeGen/Analysis.cpp
  llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/IR/DataLayout.cpp
  llvm/lib/IR/Type.cpp
  llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp
  llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/lib/Transforms/Scalar/SROA.cpp
  llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
  llvm/test/CodeGen/RISCV/rvv/load-store-scalable-struct.ll
  llvm/test/Other/load-scalable-vector-struct.ll
  llvm/test/Other/store-scalable-vector-struct.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98169.331747.patch
Type: text/x-patch
Size: 21947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210319/6b6c6f95/attachment.bin>


More information about the llvm-commits mailing list