[llvm] [SelectionDAG][RISCV] Avoid store merging across function calls (PR #130430)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 18 12:46:38 PDT 2025


================
@@ -90,6 +90,41 @@ define void @f1(ptr %m, ptr %n, ptr %p, ptr %q, ptr %r, ptr %s, double %t) {
   store i64 %x0, ptr %q
   %q.1 = getelementptr i64, ptr %q, i64 1
   store i64 %x1, ptr %q.1
+  ret void
+}
 
+define void @i8_i16(ptr %p, ptr %q) {
----------------
preames wrote:

JFYI, I'm going to precommit this in a moment.  There's nothing wrong with adding the test in the review at this case, but since I'm adding a couple vector cases too, I'm doing everything in one commit.  Please merge/rebase.  

https://github.com/llvm/llvm-project/pull/130430


More information about the llvm-commits mailing list