[all-commits] [llvm/llvm-project] ffb1c2: [Matrix] Fix crash in liftTranspose when instructi...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Dec 5 04:58:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffb1c21bd4697ab5a6f11e2f2eba4fefaa298f2a
      https://github.com/llvm/llvm-project/commit/ffb1c21bd4697ab5a6f11e2f2eba4fefaa298f2a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-12-05 (Thu, 05 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    A llvm/test/Transforms/LowerMatrixIntrinsics/transpose-opts-lifting-constant-folds.ll

  Log Message:
  -----------
  [Matrix] Fix crash in liftTranspose when instructions are folded.

Builder.Create(F)Add may constant fold the inputs, return a constant
instead of an instruction. Account for that instead of crashing.



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