If the pointer is the store's value operand, this would produce a broken module. Make sure the use is actually for the pointer operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243462 91177308-0d34-0410-b5e6-96231b3b80d8