[PATCH] D139982: [IR] Adds Function::splice() member functions.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 11:35:41 PST 2022
RKSimon added a comment.
Thanks - I'm also seeing a few unused variable warnings
================
Comment at: llvm/unittests/IR/FunctionTest.cpp:442
+ BasicBlock *ToBB2 = getBBWithName(ToF, "to_bb2");
+ BasicBlock *ToBB3 = getBBWithName(ToF, "to_bb3");
+
----------------
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
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139982/new/
https://reviews.llvm.org/D139982
More information about the llvm-commits
mailing list