[PATCH] D125449: [ConstantFold] Fold bitcasts on scalable vector splats.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 07:05:44 PDT 2022


sdesmalen updated this revision to Diff 428934.
sdesmalen marked 3 inline comments as done.
sdesmalen added a comment.

- Addressed comments.
- Reverted the fixed-width change (leading to different addrspacecast constant)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125449

Files:
  llvm/lib/IR/ConstantFold.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/test/Transforms/CodeGenPrepare/AArch64/sink-free-instructions.ll
  llvm/test/Transforms/InstCombine/scalable-const-fp-splat.ll
  llvm/test/Transforms/InstSimplify/ConstProp/vscale-inseltpoison.ll
  llvm/test/Transforms/InstSimplify/ConstProp/vscale.ll
  llvm/test/Transforms/InstSimplify/vscale-inseltpoison.ll
  llvm/test/Transforms/InstSimplify/vscale.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125449.428934.patch
Type: text/x-patch
Size: 9548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220512/a433d5a0/attachment.bin>


More information about the llvm-commits mailing list