[llvm-dev] TableGen processing of target-specific intrinsics

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 30 06:53:37 PDT 2020


If I decide to tackle this issue, I will certainly post a proposal first. I think it will be down the road a bit, as I learn more about how the system works.

Is there a place online where the results of a full build are posted?


At 9/30/2020 09:20 AM, Nicolai Hähnle wrote:
>Hi Paul,
>
>the intrinsics of all backends together with the target-agnostic
>intrinsics are all part of a single large enum, and there are some
>subtle assumptions made e.g. about how the values in this enum are
>sorted (in order to emit tables that are suitable for binary search).
>So this is an area in which to tread carefully.
>
>That said, I don't think there's any inherent reason why we
>_shouldn't_ try to entangle this a bit.
>
>I've been thinking for a while now that in a sense, the
>target-specific intrinsics are like a dialect of LLVM IR. It would
>make sense to treat them as such more explicitly.
>
>Cheers,
>Nicolai



More information about the llvm-dev mailing list