[all-commits] [llvm/llvm-project] c532e6: [RISCV] Restructure compress-opt-select.ll

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Sep 17 08:29:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c532e6db274d4edeb65e9436d44e33f0ccc1cb83
      https://github.com/llvm/llvm-project/commit/c532e6db274d4edeb65e9436d44e33f0ccc1cb83
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/compress-opt-select.ll

  Log Message:
  -----------
  [RISCV] Restructure compress-opt-select.ll

Two major changes:
- Remove use of sed preprocessing - this was being used to create two
  versions of each test, and the result is much more readable if we
  just duplicate the tests.
- Use a regex for matching the condition.  An upcoming change causes
  us to reverse the branch direction (which doesn't matter to the
  purpose of these tests at all), so using the regex makes the test
  more stable.



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