[llvm] [IR] Implementation and lowering of bitinsert and bitextract (PR #200605)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 04:22:18 PDT 2026


================
@@ -172,6 +172,14 @@ class LLVM_ABI ConstantFolder final : public IRBuilderFolder {
     return nullptr;
   }
 
+  Value *FoldBitInsert(Value *Base, Value *Val, Value *Offset) const override {
+    return nullptr;
+  }
+
+  Value *FoldBitExtract(Type *Ty, Value *Src, Value *Offset) const override {
+    return nullptr;
+  }
+
----------------
antoniofrighetto wrote:

Do we need these helpers (and all the others) within this PR? If not, let's defer to when needed, if so, let's add a TODO here and below.

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


More information about the llvm-commits mailing list