[clang] [clang][OpenMP] Add error for large expr in SIMD collapse (PR #138592)

2025-05-06 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper updated https://github.com/llvm/llvm-project/pull/138592 >From d39464b6a17dd1a2569ba8a899f59f2c577c7e82 Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Mon, 5 May 2025 23:01:02 +0200 Subject: [PATCH] [clang][OpenMP] Add error for large expr in collapse --- cl

[clang] [clang][OpenMP] Add error for large expr in SIMD collapse (PR #138592)

2025-05-06 Thread via cfe-commits
https://github.com/k-arrows commented: I am not a developer, so I won't review the implementation, but I have one comment. The way I originally wrote the bug report was poor, but it is not necessary to limit the fix and its test to OpenMP SIMD. For example, the code below also crashes: https:/

[clang] [clang][OpenMP] Add error for large expr in SIMD collapse (PR #138592)

2025-05-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Amr Hesham (AmrDeveloper) Changes Report error when OpenMP SIMD collapse clause has an expression that can't be represented in 64-bit Issue #138445 --- Full diff: https://github.com/llvm/llvm-project/pull/138592.diff 4 Files Affected:

[clang] [clang][OpenMP] Add error for large expr in SIMD collapse (PR #138592)

2025-05-05 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/138592 Report error when OpenMP SIMD collapse clause has an expression that can't be represented in 64-bit Issue #138445 >From 3f484ebd84597ce803b6c9c82650ab7bf88449dd Mon Sep 17 00:00:00 2001 From: AmrDeveloper