Add alignment support for llvm.alloca
authorNicolas Vasilache <ntv@google.com>
Mon, 19 Aug 2019 01:54:50 +0000 (18:54 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Mon, 19 Aug 2019 01:55:14 +0000 (18:55 -0700)
commitc9f37fca379035b6334b50380ef05b00026de0cc
treef5fc4eec3095f664286b0ac69b13a4ebe8e1ad26
parent33a8642f537c409575a53b82f2607d730bdff639
Add alignment support for llvm.alloca

Extend the LLVM dialect AllocaOp with an alignment attribute.

PiperOrigin-RevId: 264068306
mlir/include/mlir/LLVMIR/LLVMOps.td
mlir/lib/LLVMIR/IR/LLVMDialect.cpp
mlir/test/LLVMIR/invalid.mlir
mlir/test/LLVMIR/roundtrip.mlir
mlir/test/Target/llvmir.mlir