Fixes <rdar://problem/11387038>. llvm-svn: 156464
might not be an rvalue when checking array accesses. Instead, pass through a flag indicating the array index is negated. llvm-svn: 146753
llvm-svn: 137240