<div dir="ltr">Hi,<div><br></div><div>In PromoteMemoryToRegister.cpp, it seems to rely on the fact that the only users of bitcast/GEP instruction are lifetime intrinsics (llvm.lifetime.start/end). I did some searching in llvm/test folder, it seems to be true.</div><div><br></div><div>However, by reading LLVM IR manual, I don't see any restriction stated on the possible user of bitcast/GEP instruction. So my question is who impose the restriction ? Is it Clang ?</div><div><br></div><div>Regards</div><div>-guoqing</div></div>