[clang] [X86][Clang] Add AVX512 Integer Comparison Intrinsics for constexpr Evaluation (PR #164026)

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 27 01:50:18 PDT 2025


================
@@ -3293,6 +3293,59 @@ static bool interp__builtin_vec_set(InterpState &S, CodePtr OpPC,
   return true;
 }
 
+static bool evalICmpImm(uint8_t Imm, APSInt A, APSInt B, bool IsUnsigned) {
----------------
RKSimon wrote:

```suggestion
static bool evalICmpImm(uint8_t Imm, const APSInt &A, const APSInt &B, bool IsUnsigned) {
```

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


More information about the cfe-commits mailing list