[clang] Fix lit test clang/test/CodeGenHIP/dpp-const-fold.hip. added (PR #71656)

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 8 03:20:53 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Pravin Jagtap (pravinjagtap)

<details>
<summary>Changes</summary>

during #<!-- -->71139

-nogpulib was missing.

---
Full diff: https://github.com/llvm/llvm-project/pull/71656.diff


1 Files Affected:

- (modified) clang/test/CodeGenHIP/dpp-const-fold.hip (+1-1) 


``````````diff
diff --git a/clang/test/CodeGenHIP/dpp-const-fold.hip b/clang/test/CodeGenHIP/dpp-const-fold.hip
index 1d1d135fb06239a..4e5f6eb13f1eefc 100644
--- a/clang/test/CodeGenHIP/dpp-const-fold.hip
+++ b/clang/test/CodeGenHIP/dpp-const-fold.hip
@@ -1,6 +1,6 @@
 // REQUIRES: amdgpu-registered-target
 
-// RUN: %clang --offload-arch=gfx906 -S -o - -emit-llvm --cuda-device-only \
+// RUN: %clang --offload-arch=gfx906 -S -o - -emit-llvm --cuda-device-only -nogpuinc -nogpulib \
 // RUN:   %s | FileCheck %s
 
 constexpr static int OpCtrl()

``````````

</details>


https://github.com/llvm/llvm-project/pull/71656


More information about the cfe-commits mailing list