[llvm-bugs] [Bug 46197] New: Failure to optimize out atoi when used as operand of _tzcnt_u64
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jun 4 06:06:35 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46197
Bug ID: 46197
Summary: Failure to optimize out atoi when used as operand of
_tzcnt_u64
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: gabravier at gmail.com
CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
llvm-dev at redking.me.uk, spatel+llvm at rotateright.com
#include <x86intrin.h>
void f(char *s)
{
_tzcnt_u64(atol(s));
}
This can be optimized to doing nothing.
--
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/20200604/55cc06ac/attachment.html>
More information about the llvm-bugs
mailing list