The structured CFG is just an aid to inserting exec
mask modification instructions, once that is done
we don't really need it anymore. We also
do not analyze blocks with terminators that
modify exec, so this should only be impacting
true branches.
Details
Details
- Reviewers
• tstellarAMD nhaehnle
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This looks reasonable to me, also I think you should remove requiresStructuredCFG entirely with this change. It doesn't look like anybody else is using it.
Just one small comment below.
test/CodeGen/AMDGPU/indirect-addressing-si.ll | ||
---|---|---|
576 | This is unnecessary. |
This is unnecessary.