[all-commits] [llvm/llvm-project] c1ab19: [Clang][OpenMP]Solved the the always truth conditi...

Samuel Maina via All-commits all-commits at lists.llvm.org
Sat May 6 09:30:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1ab19850d5c42a6f76d9bd6049f9cba6e08fba1
      https://github.com/llvm/llvm-project/commit/c1ab19850d5c42a6f76d9bd6049f9cba6e08fba1
  Author: Samuel Maina <samuelmayna at gmail.com>
  Date:   2023-05-06 (Sat, 06 May 2023)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp

  Log Message:
  -----------
  [Clang][OpenMP]Solved the the always truth condition in Arm64

There was a bug in the getAArch64MTV function on the third if statement which returns truth  as reported by this issue [[ https://github.com/llvm/llvm-project/issues/61319 |[Clang] Condition is always true which is caused by a possible copy-pasted bug in CGOpenMPRuntime.cpp
 ]].
All the testcases are passing. The first unit tests I could find are for functions that are 6 levels from this issue. The function is very low level and couldn't find a way to affect it from the higher functions.

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D146370




More information about the All-commits mailing list