[PATCH] D139645: [WebAssembly] Fold adds with global addresses into load offset
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 20 13:54:42 PST 2022
luke added inline comments.
================
Comment at: llvm/test/CodeGen/WebAssembly/negative-base-reg.ll:20-22
+; CHECK: local.get $push[[L1:[0-9]+]]=, 0
+; CHECK-NEXT: i32.const $push[[V:[0-9]+]]=, 1
+; CHECK-NEXT: i32.store args+128($pop[[L1]]), $pop[[V]]
----------------
@dschuff This got shuffled about, and now the global address gets folded into the store. But is the offset here still unfolded? Or by "offset" here is it also referring to the global address too
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139645/new/
https://reviews.llvm.org/D139645
More information about the llvm-commits
mailing list