[all-commits] [llvm/llvm-project] 25b15d: LICM: Drop -licm-force-thread-model-single in favo...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Sep 12 08:44:05 PDT 2026


  Branch: refs/heads/users/arsenm/thread-model/licm-drop-force-single-opt
  Home:   https://github.com/llvm/llvm-project
  Commit: 25b15dd284c9d854c76b8bb068cfff856ef313bc
      https://github.com/llvm/llvm-project/commit/25b15dd284c9d854c76b8bb068cfff856ef313bc
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-12 (Sat, 12 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LICM.cpp
    M llvm/test/Transforms/LICM/promote-single-thread.ll

  Log Message:
  -----------
  LICM: Drop -licm-force-thread-model-single in favor of the module flag

Now that the threading model is carried by the "thread-model" IR module flag,
the hidden -licm-force-thread-model-single override is redundant: a test can
select the single-threaded model by setting the module flag directly.
isThreadLocalObject reads only Module::getThreadModel.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>



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