Commit 8efaf7a5 authored by Nikita Popov's avatar Nikita Popov
Browse files

[ConstantFold] Remove redundant zero index gep fold (NFCI)

We already handle the more general case of zero index GEPs above,
so we don't need to also handle GEPs with null based and zero
indices. (Strictly speaking, this code could handle the special
case of an inrange gep with null base and zero indices, but that
has no practical relevance.)
parent e299a428
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment