<font size=2 face="sans-serif">Hello,<br><br>I'm making changes to the GlobalOpt pass and now require BlockFrequencyInfo
and TargetTransformInfo. After making my changes, I have a failing test:
test/Other/pass-pipelines.ll. The test is using -debug-pass=Structure and
looks for the following pattern:</font><br><font size=2 face="sans-serif">; CHECK-O2: Pass Arguments:</font><br><font size=2 face="sans-serif">; CHECK-O2-NEXT: FunctionPass Manager<br>; CHECK-O2-NEXT: Dominator Tree Construction<br><br>However, with my changes the output now looks like:<br>Pass Arguments: -targetlibinfo -domtree -loops -branch-prob -block-freq</font><br><font size=2 face="sans-serif">Target Library Information</font><br><font size=2 face="sans-serif"> FunctionPass Manager</font><br><font size=2 face="sans-serif"> Dominator Tree Construction</font><br><font size=2 face="sans-serif"> Natural Loop Information</font><br><font size=2 face="sans-serif"> Branch Probability Analysis</font><br><font size=2 face="sans-serif"> Block Frequency Analysis</font><br><br><font size=2 face="sans-serif">I'm not sure why I now have Target Library
Information in between the expected pattern sequence since I did not add
Target Library Information and it was already being used in the GlobalOpt
pass before my changes.</font><br><br><font size=2 face="sans-serif">Thanks,<br>Zaara</font><BR>