SROA can fail in rewriting alloca but still rewrite a phi resulting
in dead instruction elimination. The Changed flag was not being set
correctly, resulting in downstream passes using stale analyses.
The included test case will assert during the second BDCE pass as a
result.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 12333 Build 12333: arc lint + arc unit
Event Timeline
Comment Actions
This is correct but please simplify the testcase :) [I don't think you need branch weight metadata]
you don't need these two.