OSDN Git Service

[PowerPC] define target hook isReallyTriviallyReMaterializable()
authorLei Huang <lei@ca.ibm.com>
Wed, 21 Jun 2017 17:17:56 +0000 (17:17 +0000)
committerLei Huang <lei@ca.ibm.com>
Wed, 21 Jun 2017 17:17:56 +0000 (17:17 +0000)
commitacaf7916965ed0a19cbb69e0bceb6cb35025d982
tree4dd91ae3462c3de8543f71dd0a27c721277b4a6f
parent2c60ba89439f64d2d7d0880e1fd0eaea4c76198f
[PowerPC] define target hook isReallyTriviallyReMaterializable()

Define target hook isReallyTriviallyReMaterializable() to explicitly specify
PowerPC instructions that are trivially rematerializable.  This will allow
the MachineLICM pass to accurately identify PPC instructions that should always
be hoisted.

Differential Revision: https://reviews.llvm.org/D34255

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305932 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstr64Bit.td
lib/Target/PowerPC/PPCInstrInfo.cpp
lib/Target/PowerPC/PPCInstrInfo.h
test/CodeGen/PowerPC/licm-remat.ll [new file with mode: 0644]