Add a test case for LICM when promoting locals that may be read after the throw within the loop.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM.
test/Transforms/LICM/scalar-promote-unwind.ll | ||
---|---|---|
75 ↗ | (On Diff #84725) | Run-on sentence, and a little hard to understand in general. Maybe "In this test, a loop is within a try block. There is an explicit unwind edge out of the loop. Make sure this edge is treated as a loop exit, and that the loads and stores are promoted as expected." |