[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:30:41 PDT 2023


luke marked 2 inline comments as done.
luke added inline comments.


================
Comment at: llvm/test/CodeGen/ARM/fp16-promote.ll:902
   %c = insertelement <4 x half> %b, half %a, i32 %i
-  store <4 x half> %c, ptr %q
+  store volatile <4 x half> %c, ptr %q
   ret void
----------------
Didn't notice some of these tests were hand written, just updated the diff there to mark some of the stores as volatile to prevent the combine from kicking in. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152276



More information about the llvm-commits mailing list