[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


================
@@ -9355,6 +9357,56 @@ bool SelectionDAGBuilder::visitBinaryFloatCall(const CallInst &I,
   return true;
 }
 
+bool SelectionDAGBuilder::visitFPOperation(const CallInst &I, unsigned Opcode) {
+  // We already checked this call's prototype; verify it doesn't modify errno.
+  MemoryEffects ME = I.getMemoryEffects();
+  if (!ME.onlyAccessesInaccessibleMem())
----------------
arsenm wrote:

This can check the new ErrnoMem MemoryEffect 

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


More information about the llvm-commits mailing list