[PATCH] D143437: [llvm] Use pointer index type for more GEP offsets (pre-codegen)

Krzysztof Drewniak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 11:17:52 PST 2023


krzysz00 updated this revision to Diff 496564.
krzysz00 edited the summary of this revision.
krzysz00 added a comment.

... turns out I just wanted getIndexType() this whole time


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143437

Files:
  llvm/include/llvm-c/Target.h
  llvm/include/llvm/IR/DataLayout.h
  llvm/include/llvm/IR/IRBuilder.h
  llvm/lib/Analysis/MemoryBuiltins.cpp
  llvm/lib/IR/DataLayout.cpp
  llvm/lib/Target/Target.cpp
  llvm/lib/Transforms/IPO/LowerTypeTests.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
  llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
  llvm/lib/Transforms/Scalar/NaryReassociate.cpp
  llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  llvm/lib/Transforms/Utils/FunctionComparator.cpp
  llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  llvm/test/Instrumentation/BoundsChecking/simple.ll
  llvm/test/Transforms/InstCombine/alloca-intptr-not-sizet.ll
  llvm/test/Transforms/SeparateConstOffsetFromGEP/pointer-type-not-offset-type.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143437.496564.patch
Type: text/x-patch
Size: 27502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230210/be7e7e96/attachment.bin>


More information about the llvm-commits mailing list