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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Sep 15 03:06:39 PDT 2026


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

  Changed paths:
    M llvm/lib/Transforms/Scalar/LICM.cpp
    A llvm/test/Transforms/LICM/Inputs/thread-model-single.ll
    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