For a select instruction where the operands are address calculations of two independent loads, the pass tries to speculate the loads and feed them into the select instruction, this allows early parallel execution of the loads and possibly memory folding into the CMOV instructions later on.
The pass currently only handles cases where the loads are elements of the same struct.
Details
Details
- Reviewers
zvi craig.topper aaboud
Diff Detail
Diff Detail
- Repository
- rL LLVM