[clang] [llvm] [IR] Use pretty printing for mask in is_fpclass (PR #207653)
Nikita Popov via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 8 01:18:29 PDT 2026
================
@@ -1472,6 +1472,58 @@ Intrinsic::ID Intrinsic::getDeinterleaveIntrinsicID(unsigned Factor) {
return InterleaveIntrinsics[Factor - 2].Deinterleave;
}
+LLVM_ABI void Intrinsic::printFPClassMask(raw_ostream &OS,
+ const Constant *ImmArgVal) {
+ uint64_t Val = cast<ConstantInt>(ImmArgVal)->getZExtValue();
+ if (Val <= fcAllFlags) {
----------------
nikic wrote:
Early exit? Though not sure why this check is needed.
https://github.com/llvm/llvm-project/pull/207653
More information about the cfe-commits
mailing list