diff options
author | Lei Zhang <antiagainst@google.com> | 2020-01-17 16:39:59 -0500 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2020-01-21 14:12:27 -0500 |
commit | f2dc179d686a77de8daa1b31c8984b39823e9a3d (patch) | |
tree | cc6c232cf73e862bfe4f6d881e049afcb797bfc0 /llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp | |
parent | 7c9bcba644c4fc2178e20060d9ba2ff1f50ae15e (diff) | |
download | llvm-f2dc179d686a77de8daa1b31c8984b39823e9a3d.zip llvm-f2dc179d686a77de8daa1b31c8984b39823e9a3d.tar.gz llvm-f2dc179d686a77de8daa1b31c8984b39823e9a3d.tar.bz2 |
[mlir][ods] Fix StringRef initialization in builders
For the generated builder taking in unwrapped attribute values,
if the argument is a string, we should avoid wrapping it in quotes;
otherwise we are always setting the string attribute to contain
the string argument's name. The quotes come from StrinAttr's
`constBuilderCall`, which is reasonable for string literals, but
not function arguments containing strings.
Differential Revision: https://reviews.llvm.org/D72977
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp')
0 files changed, 0 insertions, 0 deletions