Fix a typo in rL265762
authorSanjoy Das <sanjoy@playingwithpointers.com>
Sun, 17 Apr 2016 04:30:43 +0000 (04:30 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Sun, 17 Apr 2016 04:30:43 +0000 (04:30 +0000)
commit99042473d075b10c275f357682aec8bbb8fc1667
tree6d13f234a2995a691c12195edff3576b4d62739b
parent93f53c426275ebe6fad14d79deca16f70365c206
Fix a typo in rL265762

I accidentally replaced `mayBeOverridden` with `!isInterposable`.
Remove the negation and add a test case that would've caught this.

Many thanks to HÃ¥kan Hjort for spotting this!

llvm-svn: 266551
llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
llvm/test/Transforms/InstCombine/mem-gep-zidx.ll