PassManager test failing on AArch64

With LLVM built using gcc 6.1.0 in Release mode on AArch64, I see a unit
test failure:

I verified that the failure goes away when built in Debug mode or when
built with gcc 8.2.0 in Release mode.

When built in Debug mode with gcc 6.1.0 valgrind reports no problems for
PassManagerTest.IndirectAnalysisInvalidation but does report many more
problems similar to the one for ConstantsTest.ReplaceWithConstantTest.


David Greene via llvm-dev <> writes: