Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add hadd builtin | Aaron Watry | 2013-08-15 | 1 | -0/+4 |
(x + y) >> 1 gets changed to: (x>>1) + (y>>1) + (x&y&1) Saves us having to do any llvm assembly and overflow checking in the addition. Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 188476 |