[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow SSE/AVX COMI/UCOMI/CMPS/CMPP fp comparison intrinsics to be used in constexpr (PR #182589)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 21 21:17:45 PST 2026
================
@@ -12141,6 +12141,68 @@ static bool evalShiftWithCount(
return true;
}
+bool clang::MatchesPredicate(const uint32_t Imm,
+ const llvm::APFloatBase::cmpResult CompareResult) {
----------------
tbaederr wrote:
```suggestion
bool clang::MatchesPredicate(uint32_t Imm,
llvm::APFloatBase::cmpResult CompareResult) {
```
https://github.com/llvm/llvm-project/pull/182589
More information about the cfe-commits
mailing list