| commit | 7395a8182c7d377cb75e302144d3c21a85f4094f | [log] [tgz] |
|---|---|---|
| author | James Molloy <james.molloy@arm.com> | Thu Jul 16 15:22:46 2015 +0000 |
| committer | James Molloy <james.molloy@arm.com> | Thu Jul 16 15:22:46 2015 +0000 |
| tree | 11a902712960020aa80fc093c04d59f59b0f813c | |
| parent | 0e20b8dc9338903faaed3f2326635a40cf9edc19 [diff] |
[Codegen] Add intrinsics 'absdiff' and corresponding SDNodes for absolute difference operation This adds new intrinsics "*absdiff" for absolute difference ops to facilitate efficient code generation for "sum of absolute differences" operation. The patch also contains the introduction of corresponding SDNodes and basic legalization support.Sanity of the generated code is tested on X86. This is 1st of the three patches. Patch by Shahid Asghar-ahmad! llvm-svn: 242409