Page MenuHomePhabricator

[ConstantFolding, InstSimplify] Handle more vector GEPs

Authored by mssimpso on Mar 7 2018, 11:26 AM.



This patch addresses some additional cases where the compiler crashes upon encountering vector GEPs. There are a few identity-like cases (e.g., getelementptr %p, 0 -> %p) present in InstSimplify and ConstantFolding and a case in ConstantFolding that tries to mark GEPs inbounds. I'm happy to split this patch up if preferable. This should fix PR36116.


Diff Detail

Event Timeline

mssimpso created this revision.Mar 7 2018, 11:26 AM
This revision is now accepted and ready to land.Mar 14 2018, 9:08 AM
This revision was automatically updated to reflect the committed changes.