HomePhabricator

Fix crash from assert in r279466.

Description

Fix crash from assert in r279466.

The assert in r279466 checks that we call the correct version of
Intrinsic::getName. The version which accepts only an ID should not
be used for intrinsics with overloaded types. The global-isel
code was calling the wrong version. The test CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
will ensure that we call the correct version from now on.

Details

Committed
peteAug 22 2016, 3:27 PM
Parents
rL279486: Fix regression introduced by r279164: only pass definitions as the PatternDef
Branches
Unknown
Tags
Unknown