[all-commits] [llvm/llvm-project] c0c0f6: [GlobalOpt] Bail out on non-ConstExprs in isSimple...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Jun 11 14:10:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0c0f60ca14422dfbfe27fddd8d47faa596165d8
      https://github.com/llvm/llvm-project/commit/c0c0f60ca14422dfbfe27fddd8d47faa596165d8
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/Evaluator.cpp
    A llvm/test/Transforms/GlobalOpt/global-constructor-complex-constants.ll

  Log Message:
  -----------
  [GlobalOpt] Bail out on non-ConstExprs in isSimpleEnoughtToCommit. (#143400)

Bail out for non ConstantExpr constants in
isSimpleEnoughValueToCommitHelper to prevent crash for non-ConstantExpr
constants

PR: https://github.com/llvm/llvm-project/pull/143400



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