https://llvm.org/bugs/show_bug.cgi?id=27282
Bug ID: 27282
Summary: trunk/llvm/lib/CodeGen/StackMaps.cpp:2 * redundant
condition ?
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
trunk/llvm/lib/CodeGen/StackMaps.cpp:523]: (style) Redundant condition:
CSInfos.empty(). '!CSInfos.empty() || (CSInfos.empty() && ConstPool.empty())'
is equivalent to '!CSInfos.empty() || ConstPool.empty()'
trunk/llvm/lib/CodeGen/StackMaps.cpp:525]: (style) Redundant condition:
CSInfos.empty(). '!CSInfos.empty() || (CSInfos.empty() && FnStackSize.empty())'
is equivalent to '!CSInfos.empty() || FnStackSize.empty()'
Source code is
assert((!CSInfos.empty() || (CSInfos.empty() && ConstPool.empty())) &&
"Expected empty constant pool too!");
assert((!CSInfos.empty() || (CSInfos.empty() && FnStackSize.empty())) &&
"Expected empty function record too!");
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs