[llvm-dev] how to submit inter-dependent llvm and clang patches

Y Song via llvm-dev llvm-dev at lists.llvm.org
Thu Aug 1 22:56:35 PDT 2019


Hi,

I have two BPF related patches,
    clang: https://reviews.llvm.org/D65615
    llvm: https://reviews.llvm.org/D65617

The llvm patch changes one IR Builder function signature:
from:
  Value *CreatePreserveArrayAccessIndex(Value *Base, unsigned Dimension,
                                        unsigned LastIndex)
to
  Value *CreatePreserveArrayAccessIndex(Value *Base, unsigned Dimension,
                                        unsigned LastIndex, MDNode *DbgInfo)
and the clang patch uses this newly changed function.

Any recommendation on what is the best practice to merge such llvm/clang
inter-dependent patches?

Thanks!

Yonghong


More information about the llvm-dev mailing list