[all-commits] [llvm/llvm-project] 73889c: [llvm-exegesis] Add CLI Option to set Fixed RNG seed

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Dec 1 07:13:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73889c35713ecc659935445ef066fa74ae62f3fa
      https://github.com/llvm/llvm-project/commit/73889c35713ecc659935445ef066fa74ae62f3fa
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-12-01 (Mon, 01 Dec 2025)

  Changed paths:
    A llvm/test/tools/llvm-exegesis/X86/snippet-generator-seed.test
    M llvm/tools/llvm-exegesis/lib/SnippetGenerator.cpp

  Log Message:
  -----------
  [llvm-exegesis] Add CLI Option to set Fixed RNG seed

The primary motivation for this is to set a fixed RNG seed for flaky
tests. This also has the bonus of adding debug logging for what seed
gets used which can make it much easier to reproduce issues that only
happen occasionally and are seed-dependent.

Reviewers: sjoerdmeijer, davemgreen, mshockwave

Reviewed By: davemgreen

Pull Request: https://github.com/llvm/llvm-project/pull/170013



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