This patch introduces an API for MemOp in order to simplify and tighten the client code.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/include/llvm/CodeGen/TargetLowering.h | ||
|---|---|---|
| 156–157 | I've done it in this patch eventually. | |
| llvm/include/llvm/CodeGen/TargetLowering.h | ||
|---|---|---|
| 170 | To be consistent with isMemcpyWithFixedDstAlign this should be isMemset() && ZeroMemset (and the only usage is as a conjunction anyway) | |
| llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | ||
|---|---|---|
| 904 | Why isn't this always passing the alignment? Why does isFixedDstAlign matter? Passing 0 is broken in any case | |
LGTM with the understanding that this will go away and be replaced with Align eventually.