HomePhabricator

[Debugify] Preserve analyses in -check-debugify

Description

[Debugify] Preserve analyses in -check-debugify

The -check-debugify pass should preserve all analyses. Otherwise, it may
invalidate an optional analysis and inadvertently alter codegen.

The test case is reduced from deopt-bundle.ll. The result of opt -O1
on this file would differ when -debugify-each was toggled. That happened
because CheckDebugify failed to preserve GlobalsAA.

Thanks to Davide Italiano for his help chasing this down!

Details

Committed
vedantkJun 4 2018, 2:43 PM
Parents
rL333958: Revert r333791 "Cap "voluntary" vector alignment at 16 for all Darwin platforms.
Branches
Unknown
Tags
Unknown