https://llvm.org/bugs/show_bug.cgi?id=28274
Bug ID: 28274 Summary: llvm/lib/Target/Sparc/LeonPasses.cpp: 4 * bad call to find ? Product: new-bugs Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: dcb...@hotmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified trunk/llvm/lib/Target/Sparc/LeonPasses.cpp:175]: (performance) Inefficient usage of string::find() in condition; string::compare() would be faster. Source code is if (AsmString.find(FMULSOpCoode) == 0) { // this is an inline FSMULD instruction Some duplicates: trunk/llvm/lib/Target/Sparc/LeonPasses.cpp:287]: (performance) Inefficient usage of string::find() in condition; string::compare() would be faster. [trunk/llvm/lib/Target/Sparc/LeonPasses.cpp:384]: (performance) Inefficient usage of string::find() in condition; string::compare() would be faster. [trunk/llvm/lib/Target/Sparc/LeonPasses.cpp:388]: (performance) Inefficient usage of string::find() in condition; string::compare() would be faster. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs