Common/fast lookupHWIntrinsic(...) API #9628
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
enhancement
Product code improvement that does NOT require public API changes/additions
Milestone
NamedIntrinsic Compiler::lookupNamedIntrinsic(CORINFO_METHOD_HANDLE method)
Currently uses this code to lookup intrinsics
It would be nice to simplify this to
The actual parameters to
lookupHWIntrinsic
are arguable.I proposed including
method
so thatgetMethodHash(CORINFO_METHOD_HANDLE)
could be used for fast lookup from an unordered dictionary. Of course a hash of the strings could also be used, but I suspect method hash would be faster.@4creators @tannergooding @CarolEidt @fiigii
category:implementation
theme:jit-coding-style
skill-level:intermediate
cost:small
The text was updated successfully, but these errors were encountered: