aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2020-01-17 16:39:59 -0500
committerLei Zhang <antiagainst@google.com>2020-01-21 14:12:27 -0500
commitf2dc179d686a77de8daa1b31c8984b39823e9a3d (patch)
treecc6c232cf73e862bfe4f6d881e049afcb797bfc0 /llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
parent7c9bcba644c4fc2178e20060d9ba2ff1f50ae15e (diff)
downloadllvm-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