[clang] [llvm] [IR] Use pretty printing for mask in is_fpclass (PR #207653)

Serge Pavlov via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 8 22:24:57 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) {
----------------
spavloff wrote:

Added support of `fcNone` and `fcAllFlags`.

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


More information about the cfe-commits mailing list