[clang] [llvm] Minimal support of floating-point operand bundles (PR #135658)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 10 20:18:52 PDT 2025
================
@@ -4388,6 +4388,31 @@ void AssemblyWriter::printInfoComment(const Value &V) {
if (PrintInstAddrs)
Out << " ; " << &V;
+
+ if (auto *CI = dyn_cast<CallInst>(&V))
+ if (Intrinsic::ID IID = CI->getIntrinsicID())
+ if (IntrinsicInst::isFloatingPointOperation(IID))
+ if (const BasicBlock *BB = CI->getParent())
+ if (const Function *F = BB->getParent())
+ if (F->hasFnAttribute(Attribute::StrictFP)) {
----------------
arsenm wrote:
Probably shouldn't depend on parent context?
https://github.com/llvm/llvm-project/pull/135658
More information about the llvm-commits
mailing list