================ @@ -1699,8 +1701,12 @@ Expected<Value *> BitcodeReader::materializeValue(unsigned StartValID, I = GetElementPtrInst::Create(BC->SrcElemTy, Ops[0], ArrayRef(Ops).drop_front(), "constexpr", InsertBB); - if (BC->Flags) + if (BC->Flags & (1 << bitc::GEP_INBOUNDS)) cast<GetElementPtrInst>(I)->setIsInBounds(); + if (BC->Flags & (1 << bitc::GEP_NUSW)) ---------------- goldsteinn wrote:
likewise elsewhere. https://github.com/llvm/llvm-project/pull/90824 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits