[all-commits] [llvm/llvm-project] 607a81: [ConstFold] Don't crash on ConstantExprs when fold...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Sep 11 15:19:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 607a813029c815fb3529ae7338548cc3f492b437
      https://github.com/llvm/llvm-project/commit/607a813029c815fb3529ae7338548cc3f492b437
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-09-11 (Thu, 11 Sep 2025)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/active-lane-mask.ll

  Log Message:
  -----------
  [ConstFold] Don't crash on ConstantExprs when folding get_active_lane_m.

Check if operands are ConstantInt to avoid crashing on constant
expression after https://github.com/llvm/llvm-project/pull/156659.



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