[all-commits] [llvm/llvm-project] 5ae506: LAA: strip unnecessary getUniqueCastUse (#92119)

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Mon Jun 24 14:49:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ae50698a0d6a3022af2e79d405a7eb6c8c790f0
      https://github.com/llvm/llvm-project/commit/5ae50698a0d6a3022af2e79d405a7eb6c8c790f0
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll

  Log Message:
  -----------
  LAA: strip unnecessary getUniqueCastUse (#92119)

733b8b2 ([LAA] Simplify identification of speculatable strides [nfc])
refactored getStrideFromPointer() to compute directly on SCEVs, and
return an SCEV expression instead of a Value. However, it left behind a
call to getUniqueCastUse(), which is completely unnecessary. Remove
this, showing a positive test update, and simplify the surrounding
program logic.



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