HomePhabricator

[GlobalISel][IRTranslator] When translating vector geps, splat the base pointer…

Authored by aemerson on Jan 30 2020, 4:25 PM.

Description

[GlobalISel][IRTranslator] When translating vector geps, splat the base pointer if required.

We can have geps that have a scalar base pointer, and a vector index value, which
means that the base pointer must be splatted into a vector of pointers.

This fixes crashes on arm64 GlobalISel with optimizations enabled.

Details

Committed
aemersonJan 30 2020, 4:27 PM
Parents
rG3b23453b6cbf: Revert "[SafeStack][DebugInfo] Insert DW_OP_deref in correct location"
Branches
Unknown
Tags
Unknown