[all-commits] [llvm/llvm-project] 976926: [Test] Clear out br i1 undef from tests to avoid UB

Max Kazantsev via All-commits all-commits at lists.llvm.org
Tue Jun 22 21:40:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 976926e8ee3e3c9f7c391281eab89e0d1b02092a
      https://github.com/llvm/llvm-project/commit/976926e8ee3e3c9f7c391281eab89e0d1b02092a
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

  Changed paths:
    M llvm/test/Transforms/LoopDeletion/eval_first_iteration.ll

  Log Message:
  -----------
  [Test] Clear out br i1 undef from tests to avoid UB

We don't want to test possible unexpected impact of such
branches. Replacing them with regular conditions. Idea by
Nikita Popov.




More information about the All-commits mailing list