aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/X86TargetParser.cpp
diff options
context:
space:
mode:
authorMartin Waitz <tali@admingilde.org>2020-07-07 04:40:01 +0000
committerMehdi Amini <joker.eph@gmail.com>2020-07-07 04:40:01 +0000
commit72df59d59097a0c9ed5f420401cf377eaff896aa (patch)
tree9e8d8abfd0e877b6d8f538501f6c52251b287bc9 /llvm/lib/Support/X86TargetParser.cpp
parent3b5db7fc69bb1efac6f017830af98f192a1f8ab4 (diff)
downloadllvm-72df59d59097a0c9ed5f420401cf377eaff896aa.zip
llvm-72df59d59097a0c9ed5f420401cf377eaff896aa.tar.gz
llvm-72df59d59097a0c9ed5f420401cf377eaff896aa.tar.bz2
[mlir] resolve types from attributes in assemblyFormat
An operation can specify that an operation or result type matches the type of another operation, result, or attribute via the `AllTypesMatch` or `TypesMatchWith` constraints. Use these constraints to also automatically resolve types in the automatically generated assembly parser. This way, only the attribute needs to be listed in `assemblyFormat`, e.g. for constant operations. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D78434
Diffstat (limited to 'llvm/lib/Support/X86TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions