Improve isTriviallyReMaterializable() documentation.
authorMatthias Braun <matze@braunis.de>
Fri, 24 Apr 2015 01:15:27 +0000 (01:15 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 24 Apr 2015 01:15:27 +0000 (01:15 +0000)
commitd32beab637bf1f6ebddeffe147b064f05595ba04
tree793d5a36e2baa046b35b5635c33fbc72624c2934
parentbd112c28b5b98deb351ae586343fb17ff8e75811
Improve isTriviallyReMaterializable() documentation.

This should make it clear under which narrow circumstances implicit
physreg uses are okay when rematerializing and prevent people from
accidentally allowing too much when overriding
isReallyTriviallyReMaterializable() even with the weaker assert in the
RegisterCoalescer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235679 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetInstrInfo.h