https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/84500
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr approved this pull request.
https://github.com/llvm/llvm-project/pull/84500
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -53,11 +53,7 @@ static APSInt peekToAPSInt(InterpStack &Stk, PrimType T,
size_t Offset = 0) {
Offset = align(primSize(T));
APSInt R;
- INT_TYPE_SWITCH(T, {
-T Val = Stk.peek(Offset);
-R = APSInt(APInt(Val.bitWidth(), static_cast(Val),
T::isSigned()),
--
overmighty wrote:
cc @tbaederr
https://github.com/llvm/llvm-project/pull/84500
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: OverMighty (overmighty)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/84500.diff
2 Files Affected:
- (modified) clang/lib/AST/Interp/InterpBuiltin.cpp (+2-5)
- (modified) clang/test/AST/Interp/builtin-functions.cpp
https://github.com/overmighty created
https://github.com/llvm/llvm-project/pull/84500
None
>From 8850f6e317e440babaa95830123eae2b7bf46db6 Mon Sep 17 00:00:00 2001
From: OverMighty
Date: Fri, 8 Mar 2024 15:23:25 +
Subject: [PATCH] [clang][Interp] Implement __builtin_popcountg
---
clang/li