OSDN Git Service

GlobalISel: Handle selection of G_IMPLICIT_DEF in AArch64
authorJustin Bogner <mail@justinbogner.com>
Wed, 12 Jul 2017 17:32:32 +0000 (17:32 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 12 Jul 2017 17:32:32 +0000 (17:32 +0000)
commit356d2bfeba026324f7f993955281ae7cb377c7aa
tree1ce0635b33770cc34ba9801a8b09d197248c8e17
parent7c497afb63faade3b52f2a082341c068234d2278
GlobalISel: Handle selection of G_IMPLICIT_DEF in AArch64

A generic variant of IMPLICIT_DEF was added in r306875, but this
survives to selection and hits a `Cannot Select`. Add handling that
converts the note to a regular IMPLICIT_DEF.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307817 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstructionSelector.cpp
test/CodeGen/AArch64/GlobalISel/select-implicit-def.mir [new file with mode: 0644]