https://bugs.llvm.org/show_bug.cgi?id=47077

            Bug ID: 47077
           Summary: Avoid doing equality comparisons between floating
                    expressions.(llvm-project/clang/lib/CodeGen/CGExpr.cpp
                    :line 5228)
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: libclang
          Assignee: unassignedclangb...@nondot.org
          Reporter: i...@ustchcs.com
                CC: kli...@google.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

Avoid doing equality comparisons between floating expressions.

commit e3546c78cabfbf670391a57766872f0a8e28a423

llvm-project/clang/lib/CodeGen/CGExpr.cpp:line 5228

  5226  void CodeGenFunction::SetFPAccuracy(llvm::Value *Val, float Accuracy) {
  5227    assert(Val->getType()->isFPOrFPVectorTy());
  5228    if (Accuracy == 0.0 || !isa<llvm::Instruction>(Val))
  5229      return;

Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-5.15: Avoid doing equality comparisons between floating
expressions.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to