[llvm] Provide access to raw bits in PackedVector. NFC. (PR #98944)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 12:40:54 PDT 2024
================
@@ -141,6 +141,8 @@ class PackedVector : public PackedVectorBase<T, BitNum, BitVectorTy,
Bits |= RHS.Bits;
return *this;
}
+
+ operator BitVectorTy() const { return Bits; }
----------------
rampitec wrote:
That's even easier to use. Done.
https://github.com/llvm/llvm-project/pull/98944
More information about the llvm-commits
mailing list