<div dir="ltr">Hi all,<div><br></div><div>What's is the most efficient way to check if a vectorType Value a <n x i1> only contains 1s in LLVM, where n is even? I tried to extract each element and then insert an ICmpInst with low efficiency because I didn't see a reduction operation. Is there any better way?</div><div><br></div><div>Best,</div><div>Zhi</div></div>