]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in r356809 from upstream llvm trunk (by Eli Friedman):
authordim <dim@FreeBSD.org>
Sat, 23 Mar 2019 14:10:05 +0000 (14:10 +0000)
committerdim <dim@FreeBSD.org>
Sat, 23 Mar 2019 14:10:05 +0000 (14:10 +0000)
commit91e68110e47507a4cd3e895b651b840bb58a4623
treee150eda565e2b7bed00277fedf0a87899b066aa4
parent0e6bf0c478cd3a9d7d7163cae92e1d1e83454fa2
Pull in r356809 from upstream llvm trunk (by Eli Friedman):

  [ARM] Don't form "ands" when it isn't scheduled correctly.

  In r322972/r323136, the iteration here was changed to catch cases at
  the beginning of a basic block... but we accidentally deleted an
  important safety check.  Restore that check to the way it was.

  Fixes https://bugs.llvm.org/show_bug.cgi?id=41116

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

This should fix "Assertion failed: (LiveCPSR && "CPSR liveness tracking
is wrong!"), function UpdateCPSRUse" errors when building the devel/xwpe
port for armv7.

PR: 236062, 236568
MFC after: 1 month
X-MFC-With: r344779
contrib/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp