[PATCH] D146370: [Clang][OpenMP]Solved the the always truth condition in Arm64

Samuel Maina via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 25 23:35:38 PDT 2023


samuelmaina updated this revision to Diff 508381.
samuelmaina edited the summary of this revision.

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146370/new/

https://reviews.llvm.org/D146370

Files:
  clang/lib/CodeGen/CGOpenMPRuntime.cpp


Index: clang/lib/CodeGen/CGOpenMPRuntime.cpp
===================================================================
--- clang/lib/CodeGen/CGOpenMPRuntime.cpp
+++ clang/lib/CodeGen/CGOpenMPRuntime.cpp
@@ -11170,7 +11170,7 @@
   if (Kind == ParamKindTy::Uniform)
     return false;
 
-  if (Kind == ParamKindTy::LinearUVal || ParamKindTy::LinearRef)
+  if (Kind == ParamKindTy::LinearUVal || Kind == ParamKindTy::LinearRef)
     return false;
 
   if ((Kind == ParamKindTy::Linear || Kind == ParamKindTy::LinearVal) &&


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146370.508381.patch
Type: text/x-patch
Size: 514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230326/60ad5c0f/attachment.bin>


More information about the cfe-commits mailing list