<div dir="ltr">Hello,<div><br></div><div><br></div><div>Here is simple test code:</div><div><a href="https://godbolt.org/g/mjAUpu">https://godbolt.org/g/mjAUpu</a><br></div><div><br></div><div>LLVM generally assumes that malloc never fails. </div><div><br></div><div>But I dont understand difference between these two example functions - and why null check was not removed in f1, since in f2 it was removed.</div><div><br></div><div>Thanks</div></div>