[clang] [llvm] [IR] Use pretty printing for mask in is_fpclass (PR #207653)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 9 01:52:42 PDT 2026
================
@@ -1472,6 +1472,62 @@ 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 == fcNone) {
----------------
arsenm wrote:
You don't need any of this code? operator<< on FPClassTest should work
https://github.com/llvm/llvm-project/pull/207653
More information about the cfe-commits
mailing list