[all-commits] [llvm/llvm-project] d80eb9: [llvm] Remove `undef` from `llvm/test/Transforms` ...

Yeaseen via All-commits all-commits at lists.llvm.org
Wed Jan 22 06:47:37 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d80eb928c78ab3f3a3320014b2b7d513642b1a7e
      https://github.com/llvm/llvm-project/commit/d80eb928c78ab3f3a3320014b2b7d513642b1a7e
  Author: Yeaseen <yeaseen.arafat96 at gmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/test/Transforms/ADCE/2017-08-21-DomTree-deletions.ll
    M llvm/test/Transforms/ADCE/preserve-memoryssa-if-only-remove-debug.ll
    M llvm/test/Transforms/AddDiscriminators/inlined.ll
    M llvm/test/Transforms/AddDiscriminators/invoke.ll
    M llvm/test/Transforms/AggressiveInstCombine/AArch64/combine_ignore_debug.ll
    M llvm/test/Transforms/AggressiveInstCombine/trunc_unreachable_bb.ll
    M llvm/test/Transforms/AggressiveInstCombine/trunc_vector_instrs.ll
    M llvm/test/Transforms/AlignmentFromAssumptions/simple.ll
    M llvm/test/Transforms/AlignmentFromAssumptions/simple32.ll
    M llvm/test/Transforms/ArgumentPromotion/crash.ll
    M llvm/test/Transforms/ArgumentPromotion/min-legal-vector-width.ll
    M llvm/test/Transforms/ArgumentPromotion/pr32917.ll

  Log Message:
  -----------
  [llvm] Remove `undef` from `llvm/test/Transforms` tests (#123889)

This PR replaces some instances of `undef` with `function argument
value` or `poison` or `concrete values` in several tests under
`llvm/test/Transforms/` directory. These changes align with modern LLVM
standards for better-defined behavior and test determinism. If this
small PR is okay and gets merged, I will work on the rest.

This is inspired by [this
project](https://discourse.llvm.org/t/gsoc-2024-remove-undefined-behavior-from-tests/77236/29),
work done on this by @leewei05



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