[all-commits] [llvm/llvm-project] b29084: [SCEVExp] Check if getPtrToIntExpr resulted in Cou...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Aug 26 03:39:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b29084f0d80dd4fd66f1421350c87f79c537d071
      https://github.com/llvm/llvm-project/commit/b29084f0d80dd4fd66f1421350c87f79c537d071
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
    M llvm/test/Transforms/LoopIdiom/reuse-lcssa-phi-scev-expansion.ll

  Log Message:
  -----------
  [SCEVExp] Check if getPtrToIntExpr resulted in CouldNotCompute.

This fixes a crash trying to use SCEVCouldNotCompute, if getPtrToIntExpr
failed.

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



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