HomePhabricator

[GlobalISel] Add legalization support for non-power-2 loads and stores

Authored by aemerson on Apr 17 2019, 2:30 PM.

Description

[GlobalISel] Add legalization support for non-power-2 loads and stores

Legalize things like i24 load/store by splitting them into smaller power of 2 operations.

This matches how SelectionDAG handles these operations.

Differential Revision: https://reviews.llvm.org/D59971

llvm-svn: 358613