This is a first step before changing the types to llvm::Align and introduce functions to ease client code.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/CodeGen/TargetLowering.h | ||
---|---|---|
110 | Needs src and dst address spaces |
llvm/include/llvm/CodeGen/TargetLowering.h | ||
---|---|---|
110 | So address spaces are useful at the findOptimalMemOpLowering level but not at lower levels (getOptimalMemOpType, getOptimalMemOpLLT) so I was not sure whether it would make sense to include them. I don't have a strong opinion at that point. courbet@ WDYT? |
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | ||
---|---|---|
5910–5911 | Could you submit the fix to the broken isZeroConstant code as a separate patch so that this remains an NFC ? |
llvm/include/llvm/CodeGen/TargetLowering.h | ||
---|---|---|
110 | Upon careful analysis, only DstAS is used as a fallback in case we don't have an optimal type to use so I don't think it matters to pass them down. |
Needs src and dst address spaces