[llvm] Fixes simple issue found static analyzer (PR #169958)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 30 07:22:38 PST 2025


================
@@ -1373,7 +1373,7 @@ void GISelValueTracking::computeKnownFPClass(Register R,
           (KnownLHS.isKnownNeverInfinity() || KnownRHS.isKnownNeverInfinity()))
         Known.knownNot(fcNan);
 
-      if (Opcode == Instruction::FAdd) {
+      if (Opcode == TargetOpcode::G_FADD) {
----------------
arsenm wrote:

Clearly there is missing test coverage 

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


More information about the llvm-commits mailing list