[PATCH] D152276: [DAGCombine] Fold (store (insert_elt (load p)) x p) -> (store x)

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 07:25:19 PDT 2023


luke updated this revision to Diff 535400.
luke added a comment.

Manually update some non-update_test_checks.py tests to use volatile stores so they don't trigger the combine


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152276

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AArch64/vector-insert-shuffle-cycle.ll
  llvm/test/CodeGen/ARM/fp16-promote.ll
  llvm/test/CodeGen/ARM/vector-DAGCombine.ll
  llvm/test/CodeGen/Hexagon/autohvx/hfinsert.ll
  llvm/test/CodeGen/Mips/msa/basic_operations.ll
  llvm/test/CodeGen/Mips/msa/basic_operations_float.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll
  llvm/test/CodeGen/X86/pr47874.ll
  llvm/test/CodeGen/X86/pr59980.ll
  llvm/test/CodeGen/X86/vec_insert-mmx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152276.535400.patch
Type: text/x-patch
Size: 33778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230628/481c600d/attachment.bin>


More information about the llvm-commits mailing list