Extend the transform introduced in https://reviews.llvm.org/D66608 to work for vector geps as well.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D66671
[InstCombine] icmp eq/ne (gep inbounds P, Idx..), null -> icmp eq/ne P, null for vectors ClosedPublic Authored by reames on Aug 23 2019, 11:46 AM.
Details Summary Extend the transform introduced in https://reviews.llvm.org/D66608 to work for vector geps as well.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Aug 26 2019, 11:00 AM Closed by commit rL369949: [InstCombine] icmp eq/ne (gep inbounds P, Idx..), null -> icmp eq/ne P, null… (authored by reames). · Explain WhyAug 26 2019, 12:17 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 216915 lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/gep-inbounds-null.ll
|
TODO can be removed