HomePhabricator

Fix some more asserts after r279466.

Description

Fix some more asserts after r279466.

That commit added a new version of Intrinsic::getName which should only
be called when the intrinsic has no overloaded types. There are several
debugging paths, such as SDNode::dump which are printing the name of the
intrinsic but don't have the overloaded types. These paths should be ok
to just print the name instead of crashing.

The fix here is ultimately to just add a 'None' second argument as that
calls the overload capable getName, which is less efficient, but this is a
debugging path anyway, and not perf critical.

Thanks to Björn Pettersson for pointing out that there were more crashes.

Details

Committed
peteAug 23 2016, 9:23 AM
Parents
rL279527: [X86][SSE] Demonstrate inability to recognise that (v)cvtpd2dq & (v)cvttpd2dq…
Branches
Unknown
Tags
Unknown