[all-commits] [llvm/llvm-project] 92df38: [mlir][LLVM] Fix crash when dereferenceable instru...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Sep 16 23:23:42 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92df387cd28161612d3953e51aa29230350fb6ce
      https://github.com/llvm/llvm-project/commit/92df387cd28161612d3953e51aa29230350fb6ce
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-09-16 (Wed, 16 Sep 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/test/Target/LLVMIR/attribute-dereferenceable.mlir

  Log Message:
  -----------
  [mlir][LLVM] Fix crash when dereferenceable instruction is folded (#221682)

`inst` is null when the builder folds the cast of a constant. Fix
nullptr dereference by dropping the metadata.



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