HomePhabricator

[mlir] Simplify std.alloc lowering to LLVM.

Authored by csigg on Nov 17 2020, 9:00 AM.

Description

[mlir] Simplify std.alloc lowering to LLVM.

std.alloc only supports memrefs with identity layout, which means we can simplify the lowering to LLVM and compute strides only from (static and dynamic) sizes.

Reviewed By: ftynse

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

Details

Committed
csiggNov 17 2020, 9:55 AM
Reviewer
ftynse
Differential Revision
D91549: [mlir] Simplify std.alloc lowering to LLVM.
Parents
rG6ef6beaa570f: Comment out new test while I figure out what is wrong with it
Branches
Unknown
Tags
Unknown