[llvm] [OpenMP][FIX] Remove unsound omp_get_thread_limit deduplication (PR #79524)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 19:54:00 PST 2024


================
@@ -0,0 +1,64 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function main --scrub-attributes --filter "@omp_get_thread_limit|@use" --version 4
+; RUN: opt -passes=openmp-opt-cgscc -S < %s | FileCheck %s
+
+declare void @use(i32 noundef)
+declare i32 @omp_get_thread_limit()
+; Function Attrs: nounwind
----------------
jhuber6 wrote:

```suggestion
```
These shouldn't be needed

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


More information about the llvm-commits mailing list