[all-commits] [llvm/llvm-project] 963e2f: [mlir] Fix segfault in gpu.launch verifier when bo...

Darshan Bhat via All-commits all-commits at lists.llvm.org
Thu Feb 19 16:40:29 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 963e2fb5890553b24938a5a341defaf9a79c8577
      https://github.com/llvm/llvm-project/commit/963e2fb5890553b24938a5a341defaf9a79c8577
  Author: Darshan Bhat <darshanbhatsirsi at gmail.com>
  Date:   2026-02-20 (Fri, 20 Feb 2026)

  Changed paths:
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/test/Dialect/GPU/invalid.mlir

  Log Message:
  -----------
  [mlir] Fix segfault in gpu.launch verifier when body region is empty (#182086)

Fixes #181971 
Some methods in LaunchOp::verifyRegion() accesses body block without
checking that region is empty resulting in a segfault. Fix by adding an
early return when the body is empty.



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