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

Alexis Engelke via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 16 07:13:03 PDT 2026


================
@@ -1867,6 +1867,14 @@ Expected<Value *> BitcodeReader::materializeValue(unsigned StartValID,
         I = new ShuffleVectorInst(Ops[0], Ops[1], Ops[2], "constexpr",
                                   InsertBB);
         break;
+      case Instruction::BitExtract:
+        I = BitExtractInst::Create(BC->getType(), Ops[0], Ops[1], "constexpr",
----------------
aengelke wrote:

We don't need backwards compatibility with constant expressions?

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


More information about the llvm-commits mailing list