[all-commits] [llvm/llvm-project] 91e134: [llvm] Replace `UndefValue::get` with `PoisonValue...

Lee Wei via All-commits all-commits at lists.llvm.org
Wed Nov 13 00:02:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91e134ad7d162c9affe37c67afb9dec34a215b7a
      https://github.com/llvm/llvm-project/commit/91e134ad7d162c9affe37c67afb9dec34a215b7a
  Author: Lee Wei <lee10202013 at gmail.com>
  Date:   2024-11-13 (Wed, 13 Nov 2024)

  Changed paths:
    M llvm/unittests/Analysis/PhiValuesTest.cpp

  Log Message:
  -----------
  [llvm] Replace `UndefValue::get` with `PoisonValue::get` in a unit test [NFC] (#115985)

Since these `UndefValue::get` are acted as placeholders, I think it's
safe to replace them with poison values.
There are a lot of `UndefValue::get` in LLVM, I'll start fixing the ones
in `unittests` while fixing the regression tests.



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