[all-commits] [llvm/llvm-project] 13faa8: [TypePromotion] Do not zero-extend getelementptr i...

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Sat Apr 5 07:53:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13faa819168e568404bee320ca7db9bc386f081f
      https://github.com/llvm/llvm-project/commit/13faa819168e568404bee320ca7db9bc386f081f
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2025-04-05 (Sat, 05 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/TypePromotion.cpp
    A llvm/test/CodeGen/AArch64/typepromotion-gep.ll
    M llvm/test/CodeGen/AArch64/typepromotion-phisret.ll
    M llvm/test/Transforms/TypePromotion/ARM/phis-ret.ll
    M llvm/test/Transforms/TypePromotion/ARM/pointers.ll

  Log Message:
  -----------
  [TypePromotion] Do not zero-extend getelementptr indexes since signed

A miscompilation issue has been addressed with improved handling.

Fixes: https://github.com/llvm/llvm-project/issues/133928.

Alive2: https://alive2.llvm.org/ce/z/gcMNvS.



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