HomePhabricator

[SROA] Don't falsely report that changes have occured

Authored by majnemer on Apr 25 2016, 6:05 PM.

Description

[SROA] Don't falsely report that changes have occured

We would report that the function changed despite creating no new
allocas or performing any promotion.

This fixes PR27316.

llvm-svn: 267507

Details

Committed
majnemerApr 25 2016, 6:05 PM
Parents
rG1aa3cf7d18aa: Reverting Thumb2SizeReduction opt bisect change to fix failing buildbots.
Branches
Unknown
Tags
Unknown