This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Cleanup libfunc attribute inferring
ClosedPublic

Authored by xbolva00 on Oct 16 2018, 1:51 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

xbolva00 created this revision.Oct 16 2018, 1:51 PM
efriedma accepted this revision.Oct 16 2018, 2:09 PM

LGTM

lib/Transforms/Utils/BuildLibCalls.cpp
126 ↗(On Diff #169888)

We can safely assume the module is non-null.

862 ↗(On Diff #169888)

We should probably clean this up to compute the name using TargetLibraryInfo at some point, but it's okay to leave it for now.

This revision is now accepted and ready to land.Oct 16 2018, 2:09 PM
This revision was automatically updated to reflect the committed changes.