[all-commits] [llvm/llvm-project] 1c984b: [LLVM][TableGen] Adopt !listflatten for Intrinsic ...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Wed Sep 25 04:50:30 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1c984b86b389bbc71c8c2988d1d707e2f32878bd
https://github.com/llvm/llvm-project/commit/1c984b86b389bbc71c8c2988d1d707e2f32878bd
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2024-09-25 (Wed, 25 Sep 2024)
Changed paths:
M llvm/include/llvm/IR/Intrinsics.td
M llvm/utils/TableGen/IntrinsicEmitter.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list