HomePhabricator

Fix crash from assert in r279466.

Authored by pete on Aug 22 2016, 3:27 PM.

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.

llvm-svn: 279487

Details

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