[clang] [llvm] [mlir] [polly] [IRBuilder] Use SetInsertPoint without redundant BasicBlock argument (PR #228476)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 3 01:09:42 PDT 2026


================
@@ -193,10 +193,7 @@ class IRBuilderBase {
   /// This specifies that created instructions should be inserted at the
   /// specified point.
   void SetInsertPoint(BasicBlock *TheBB, BasicBlock::iterator IP) {
----------------
nikic wrote:

The variant without BasicBlock already exists (the function below this). This one will get deprecated. I added a TODO to that effect.

https://github.com/llvm/llvm-project/pull/228476


More information about the cfe-commits mailing list