[all-commits] [llvm/llvm-project] 4d1ecf: [Transforms] Preserve inbounds attribute of transf...

AtariDreams via All-commits all-commits at lists.llvm.org
Tue May 14 18:26:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d1ecf192313b612090d60181937eff03c1a966b
      https://github.com/llvm/llvm-project/commit/4d1ecf192313b612090d60181937eff03c1a966b
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
    M llvm/test/Transforms/LoopFlatten/loop-flatten-gep.ll

  Log Message:
  -----------
  [Transforms] Preserve inbounds attribute of transformed GEPs when flattening loops (#86961)

When flattening the loop, if the GEP was inbound, it should stay
inbound, because the only thing that changed is how the pointers are
calculated, not the elements being accessed.

Proof: https://alive2.llvm.org/ce/z/dApMpQ



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