Permit remat when a virtual register has multiple defs.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 20 Apr 2011 22:14:17 +0000 (22:14 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 20 Apr 2011 22:14:17 +0000 (22:14 +0000)
commit08c5a347a05e73a34c70ec8b694b1e89b96a6bf5
treea76fa657c38bf7451d29d6191c8a1c8f91c02221
parent344731c01805aeda49c747bac6148501fa85557c
Permit remat when a virtual register has multiple defs.

TII::isTriviallyReMaterializable() shouldn't depend on any properties of the
register being defined by the instruction. Rematerialization is going to create
a new virtual register anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129882 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInstrInfoImpl.cpp