[all-commits] [llvm/llvm-project] 2f1ddc: [AMDGPU] Fix LowerDIVREM24 lowering for the unsign...

Manuel Carrasco via All-commits all-commits at lists.llvm.org
Tue Jun 2 08:39:08 PDT 2026


  Branch: refs/heads/users/mgcarrasco/divrem24-miscompilation
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f1ddc05391539d5d12d3c6349080c8a5bdf0b6b
      https://github.com/llvm/llvm-project/commit/2f1ddc05391539d5d12d3c6349080c8a5bdf0b6b
  Author: Manuel Carrasco <Manuel.Carrasco at amd.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/udiv-miscompilation.ll
    M llvm/test/CodeGen/AMDGPU/udiv.ll
    M llvm/test/CodeGen/AMDGPU/udivrem24.ll

  Log Message:
  -----------
  [AMDGPU] Fix LowerDIVREM24 lowering for the unsigned case

The code was not properly checking that the operands were
24-bit integers for the unsigned case.


  Commit: 436e6617777f936c23e7b5a512b9c16d090403a1
      https://github.com/llvm/llvm-project/commit/436e6617777f936c23e7b5a512b9c16d090403a1
  Author: Manuel Carrasco <Manuel.Carrasco at amd.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/udiv-miscompilation.ll

  Log Message:
  -----------
  [reviews] Improve test.


  Commit: 726aafcbc5c836051d8945b21e78a3daeb41d8ea
      https://github.com/llvm/llvm-project/commit/726aafcbc5c836051d8945b21e78a3daeb41d8ea
  Author: Manuel Carrasco <Manuel.Carrasco at amd.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp

  Log Message:
  -----------
  [reviews] reduce overhead


  Commit: 350fc574d6e2265753bd4e459c39ab3362195330
      https://github.com/llvm/llvm-project/commit/350fc574d6e2265753bd4e459c39ab3362195330
  Author: Manuel Carrasco <Manuel.Carrasco at amd.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp

  Log Message:
  -----------
  [review] Reduce compile-time overhead.


  Commit: 2b8509c0dd5ecfc90f03e8d2e29d1a8b9a12f240
      https://github.com/llvm/llvm-project/commit/2b8509c0dd5ecfc90f03e8d2e29d1a8b9a12f240
  Author: Manuel Carrasco <Manuel.Carrasco at amd.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/div-rem-fast-path.ll
    R llvm/test/CodeGen/AMDGPU/udiv-miscompilation.ll

  Log Message:
  -----------
  [reviews] Add full pipeline test and remove previous one.

Co-authored-by: Carlo Bertolli <carlo.bertolli at amd.com>


Compare: https://github.com/llvm/llvm-project/compare/4eb0cd6dc247...2b8509c0dd5e

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list