http://llvm.org/bugs/show_bug.cgi?id=20035
Bug ID: 20035
Summary: Recognize horizontal add patterns.
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: AArch64
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
#include <arm_neon.h>
unsigned hadd(uint32x4_t a) {
return a[0] + a[1] + a[2] + a[3];
}
Should generate ADDV.4S. Instead we get scalarized code.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs