[PATCH] D144445: (WIP)[ConstantFold][InstSimplify] folding load for constant global all-element-equal arrays and structs

Kohei Asano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 04:11:24 PST 2023


khei4 updated this revision to Diff 500139.
khei4 added a comment.



current progress
================

- fold patterened load for array



TODO
====

- fold struct, ptr array
- chore ugly Constant transformation etc


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

https://reviews.llvm.org/D144445

Files:
  llvm/include/llvm/Analysis/ConstantFolding.h
  llvm/lib/Analysis/ConstantFolding.cpp
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstSimplify/load-patterned-aggregates.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144445.500139.patch
Type: text/x-patch
Size: 8683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230224/fc282229/attachment.bin>


More information about the llvm-commits mailing list