Use getVectorLoopRegion to retrieve the vector loop header instead of relying on getting the successor of the entry block. This makes sure the code still works correctly as more parts of the skeleton are modeled in VPlan.
39 KiB
39 KiB