OSDN Git Service

[GlobalISel] Remove types on selected insts instead of using LLT().
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Thu, 28 Jul 2016 16:58:27 +0000 (16:58 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Thu, 28 Jul 2016 16:58:27 +0000 (16:58 +0000)
commite27b94c59f071939f1e3f861dc0e334e611e9386
treeb7f9cbcbaa5b77a8c3dc63194c5a512de163d7c3
parentd59b26e1ea3c99e17474800775e630f93b45be3d
[GlobalISel] Remove types on selected insts instead of using LLT().

LLT() has a particular meaning: it's one invalid type. But we really
want selected instructions to have no type whatsoever.

Also verify that types don't linger after ISel, and enable the verifier
on the AArch64 select test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277001 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/MachineVerifier.cpp
lib/Target/AArch64/AArch64InstructionSelector.cpp
test/CodeGen/AArch64/GlobalISel/arm64-instructionselect.mir