summaryrefslogtreecommitdiffstats
path: root/mlir/lib/IR/Attributes.cpp
diff options
context:
space:
mode:
authorNicolas Vasilache <ntv@google.com>2019-12-04 14:15:24 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-04 14:16:00 -0800
commitb3f7cf80a7dc7e9edd5b53827a942bada4a6aeb2 (patch)
treec87f323372730ace55cb079a0812040abdcb3707 /mlir/lib/IR/Attributes.cpp
parentd20d763241020161ea173efe358d207b93310a34 (diff)
downloadbcm5719-llvm-b3f7cf80a7dc7e9edd5b53827a942bada4a6aeb2.tar.gz
bcm5719-llvm-b3f7cf80a7dc7e9edd5b53827a942bada4a6aeb2.zip
Add a CL option to Standard to LLVM lowering to use alloca instead of malloc/free.
In the future, a more configurable malloc and free interface should be used and exposed via extra parameters to the `createLowerToLLVMPass`. Until requirements are gathered, a simple CL flag allows generating code that runs successfully on hardware that cannot use the stdlib. PiperOrigin-RevId: 283833424
Diffstat (limited to 'mlir/lib/IR/Attributes.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud