<div dir="ltr">The attached patch fixes a case where we produce an invalid store where the value type is not the same as the pointee type of the pointer. This occurs when lowering to a global variable because the GV must have the type of a pointer to its initializer, yet the initializer is not quite the same that we use for the value. Fix it up by adding a cast.<div><br></div><div>Ben, I've cc'd you because I think this is a regression from your r231564.</div><div><br></div><div>Please review!</div><div><br></div><div>Nick</div><div><br></div></div>