ssa-loop-niter: skip caching of null operands
authorAlexandre Oliva <oliva@adacore.com>
Thu, 29 Dec 2022 17:32:53 +0000 (14:32 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 29 Dec 2022 17:39:46 +0000 (14:39 -0300)
commite2535c6035270c8b46491c6d33285ac29362bdf7
tree1214b7fba792636de4603c1b1d6c529ad3a15e76
parent8251f319439ff9ae0816d31db861b8681c953fc1
ssa-loop-niter: skip caching of null operands

When a TREE_OPERAND is NULL, do not cache it.

for  gcc/ChangeLog

* tree-ssa-loop-niter.cc (expand_simple_operands): Refrain
from caching NULL TREE_OPERANDs.
gcc/tree-ssa-loop-niter.cc