aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorRahul Joshi <rjoshi@nvidia.com>2024-09-25 04:50:09 -0700
committerGitHub <noreply@github.com>2024-09-25 04:50:09 -0700
commit1c984b86b389bbc71c8c2988d1d707e2f32878bd (patch)
tree45a3590f56dc64512fce2715f1f62a05f76bbdbc /clang/lib/CodeGen/ModuleBuilder.cpp
parent786dc5a2da9bb55d98c65d018de25d9bd31485ff (diff)
downloadllvm-1c984b86b389bbc71c8c2988d1d707e2f32878bd.zip
llvm-1c984b86b389bbc71c8c2988d1d707e2f32878bd.tar.gz
llvm-1c984b86b389bbc71c8c2988d1d707e2f32878bd.tar.bz2
[LLVM][TableGen] Adopt !listflatten for Intrinsic type signature (#109884)
Intrinisc type signature is a `list<list<int>>` that hold IIT encoding for each param/ret type (outer list) where the IIT encoding for each type itself can be 0 or more integers (the inner list). Intrinsic emitter flatten this list into generate the type signature in `ComputeTypeSignature`. Use the new !listflatten() operator to instead flatten the list in the TableGen definition and eliminate flattening in the emitter code. Verified that `-gen-intrinsic-impl` output for Intrinsics.td is identical with and without the change.
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions