HomePhabricator

[MLIR] Introduce std.alloca op

Authored by bondhugula on Mar 22 2020, 8:50 AM.

Description

[MLIR] Introduce std.alloca op

Introduce the alloca op for stack memory allocation. When converting to the
LLVM dialect, this is lowered to an llvm.alloca. Refactor the std to
llvm conversion for alloc op to reuse with alloca. Drop useAlloca option
with alloc op lowering.

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

Details

Committed
bondhugulaApr 7 2020, 3:15 AM
Differential Revision
D76602: [MLIR] Introduce std.alloca op
Parents
rG6aabb109becf: [SCCP] Use ranges for predicate info conditions.
Branches
Unknown
Tags
Unknown