Depends on D57495.
Details
Diff Detail
- Build Status
Buildable 27527 Build 27526: arc lint + arc unit
Event Timeline
llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | ||
---|---|---|
248 | Is it smaller than even 1 store? Even if it is, stores can have constant offsets. Probably best to set this to at least 2. |
llvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.cpp | ||
---|---|---|
31 | Do we need WebAssemblyISD::MEMORY_COPY node? Can we possibly lower it directly using DAG.getMachineNode here? In case that involves more work, nevermind. But if we are just transferring operands one-to-one that also looks as simple. | |
llvm/test/CodeGen/WebAssembly/bulk-memory.ll | ||
66 | Are there any difference between memcpy_1, memory_4, and memory_1024 other than the argument to i32.const? Do we need all these three tests? |
llvm/test/CodeGen/WebAssembly/bulk-memory.ll | ||
---|---|---|
66 | No, we can probably get away with one test for the load-store pair and one for memory.copy. |
llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | ||
---|---|---|
248 | We agreed offline that setting this to 1 is fine for now (it was originally 0). Once bulk memory is correct throughout the toolchain, we will take measurements and figure out where these thresholds should be set. | |
llvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.cpp | ||
31 | After looking into it for a bit, I wasn't able to get this to work :\ |
Is it smaller than even 1 store? Even if it is, stores can have constant offsets. Probably best to set this to at least 2.