[llvm] Fixes simple issue found static analyzer (PR #169958)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 1 04:18:09 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) {
----------------
Seraphimt wrote:
I added all in one PR because fixs is minor(typo and missprint) and it's a bit cluttered creating 10 separate of these.
I'll try add tests for G_FADD and rest.
https://github.com/llvm/llvm-project/pull/169958
More information about the llvm-commits
mailing list