This is part of a series of patches that aim at making Function::getBasicBlockList() private.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Removed the splice() variant that inserts a single block.
It has the same functionality as Function::insertBasicBlockAt().
Comment Actions
going to assume this is basically the same as the instruction splicing patch and not look at it too closely :)
llvm/lib/IR/Function.cpp | ||
---|---|---|
378 | Ooops let me fix it forward. Thanks! |
llvm/lib/IR/Function.cpp | ||
---|---|---|
378 | I just pushed the fix: 66440a46b172c99399e3456a86b9e54d27ae51d0 |
Comment Actions
Thanks - I'm also seeing a few unused variable warnings
llvm/unittests/IR/FunctionTest.cpp | ||
---|---|---|
442 | I'm also seeing these build warnings: E:\llvm\llvm-project\llvm\unittests\IR\FunctionTest.cpp(442): warning C4189: 'ToBB3': local variable is initialized but not referenced E:\llvm\llvm-project\llvm\unittests\IR\FunctionTest.cpp(440): warning C4189: 'ToBB1': local variable is initialized but not referenced E:\llvm\llvm-project\llvm\unittests\IR\FunctionTest.cpp(437): warning C4189: 'FromBB3': local variable is initialized but not referenced |
llvm/unittests/IR/FunctionTest.cpp | ||
---|---|---|
442 | Just pushed the patch for these too 9eb5d9cbe9e53d16dbedf922259ae3643d919603. Thanks! |
@vporpo This is breaking on EXPENSIVE_CHECKS builds - FromBBEnd -> FromFEnd ?