[clang] [CIR] Add support for X86 pmovqd512_mask and pmovwb512_mask builtins (PR #173802)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 5 17:07:05 PST 2026
================
@@ -97,7 +97,7 @@ EHScopeStack::getInnermostActiveNormalCleanup() const {
char *EHScopeStack::allocate(size_t size) {
size = llvm::alignTo(size, ScopeStackAlignment);
if (!startOfBuffer) {
- unsigned capacity = llvm::PowerOf2Ceil(std::max(size, 1024ul));
+ unsigned capacity = llvm::PowerOf2Ceil(std::max<size_t>(size, 1024ul));
----------------
andykaylor wrote:
That makes sense. I'm surprised no one else has run into this before. Generally, we try to keep unrelated changes like this in a separate PR, so that, for example, this change wouldn't be reverted if we needed to revert the rest of this PR for some reason.
https://github.com/llvm/llvm-project/pull/173802
More information about the cfe-commits
mailing list