[all-commits] [llvm/llvm-project] 2df37d: [NFC][Codegen] Harden a few tests to not rely that...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Fri Jul 9 03:32:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2df37d5ddd38091aafbb7d338660e58836f4ac80
      https://github.com/llvm/llvm-project/commit/2df37d5ddd38091aafbb7d338660e58836f4ac80
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-07-09 (Fri, 09 Jul 2021)

  Changed paths:
    M llvm/test/CodeGen/AArch64/branch-relax-alignment.ll
    M llvm/test/CodeGen/AArch64/branch-relax-bcc.ll
    M llvm/test/CodeGen/AMDGPU/early-inline.ll

  Log Message:
  -----------
  [NFC][Codegen] Harden a few tests to not rely that volatile store to null isn't erased


  Commit: aa9f58cc2c48ca6cfc853a2467cd775dc7622746
      https://github.com/llvm/llvm-project/commit/aa9f58cc2c48ca6cfc853a2467cd775dc7622746
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-07-09 (Fri, 09 Jul 2021)

  Changed paths:
    M llvm/utils/unittest/googletest/src/gtest.cc

  Log Message:
  -----------
  Speculatively adjust gtest's UnitTest::AddTestPartResult() to not rely on volatile store to null trapping

This fallback path is used at least on PPC.
If this doesn't work on some compilers that take this path,
then this will have to be changed to either abort,
or partitioned to do different things based on the compiler.

Please refer to https://reviews.llvm.org/D105338.


Compare: https://github.com/llvm/llvm-project/compare/dddb225acf1f...aa9f58cc2c48


More information about the All-commits mailing list