[llvm-bugs] [Bug 47077] New: Avoid doing equality comparisons between floating expressions.(llvm-project/clang/lib/CodeGen/CGExpr.cpp:line 5228)
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Aug 9 23:23:19 PDT 2020
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: unassignedclangbugs at nondot.org
Reporter: info at ustchcs.com
CC: klimek at google.com, llvm-bugs at lists.llvm.org,
richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200810/1d50e1c3/attachment.html>
More information about the llvm-bugs
mailing list