Add support for llvm.constant with StringAttr as value.
authorStephan Herhut <herhut@google.com>
Fri, 24 May 2019 11:49:56 +0000 (04:49 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 02:59:54 +0000 (19:59 -0700)
commitcb348dff8aaceb21fd8ccb0ae9c310c5eba3f0e1
tree8bf197f0c4d687091dbbc7403aa07eda014540dc
parent22f1af4400dacc03d1af21e52289078e270e16e0
Add support for llvm.constant with StringAttr as value.

    These are translated to an llvm::ConstantDataArray on translation to llvm IR
    proper.

--

PiperOrigin-RevId: 249813111
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
mlir/test/Target/llvmir.mlir