This ports over the AMDGPU LLVM backend's lowering of division, modulo and remainer operations as a new path in nir_lower_idiv(). This new path is used by ACO.
Step 1. Fetch and check out the branch for this merge request
git fetch https://gitlab.freedesktop.org/pendingchaos/mesa.git nir_lower_idiv git checkout -b pendingchaos/mesa-nir_lower_idiv FETCH_HEAD
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git fetch origin git checkout origin/master git merge --no-ff pendingchaos/mesa-nir_lower_idiv
Step 4. Push the result of the merge to GitLab
git push origin master
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.