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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
#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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs