[all-commits] [llvm/llvm-project] 20ec41: [Libomptarget] Add branch prediction intrinsic to ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri May 20 12:39:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20ec4161d7c9e146c844fadf5af2a44afb9e7a60
      https://github.com/llvm/llvm-project/commit/20ec4161d7c9e146c844fadf5af2a44afb9e7a60
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-05-20 (Fri, 20 May 2022)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/src/State.cpp

  Log Message:
  -----------
  [Libomptarget] Add branch prediction intrinsic to state check

Summary:
We usually used the `OMP_LIKELY` and `OMP_UNLIKELY` macros to add branch
prediction intrinsics to help the optimizer ignore unlikely loops. This
wasn't applied to this one loop so add that in.




More information about the All-commits mailing list