search for: optimizecallinst

Displaying 1 result from an estimated 1 matches for "optimizecallinst".

2019 Apr 24
2
Accelerating TLI getLibFunc lookups
...nction we use for IntrinsicID to make that fast. Looking into a compile time issue during codegen (LLC) for a large IR file, I came across something interesting.  Due to the presence of a very large number of intrinsics in the particular example, we were spending almost 30% of time in CodeGenPrep::optimizeCallInst, and within that, almost all of it in the FortifiedLibCallSimplifier.  Now, since the IR file in question has no fortified libcalls, that seemed a bit odd. Looking into, it turns out that figuring out that an arbitrary direct call is *not* a call to a LibCall requires a full name normalization and...