llvm-svn: 294040
Fix cases where the Value itself is used, and not the constant value. llvm-svn: 206214