OSDN Git Service

Fix InstCombine test: invalid CHECK line slipped in r231270
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 11 Aug 2015 15:31:17 +0000 (15:31 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 11 Aug 2015 15:31:17 +0000 (15:31 +0000)
commitd50888216bbeeaa50dee1021e353822844a12835
tree96357bc9843b4e38559de7456826cd2b9d971ff7
parent1df36a4e70531bb4c3c3ecf0fc806abc8777f633
Fix InstCombine test: invalid CHECK line slipped in r231270

I incorrectly wrote CHECK-NEXT with followin with ':', the check was
ignored by FileCheck.
The non-inbound GEP is folded here because the DataLayout is no longer
optional, the fold was originally guarded with a comment that said:
    We need TD information to know the pointer size unless this is inbounds.
Now we always have "TD information" and perform the fold.

Thanks Jonathan Roelofs for noticing.

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244613 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/load-cmp.ll