aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorAaron Watry <awatry@gmail.com>2013-08-15 19:21:07 +0000
committerAaron Watry <awatry@gmail.com>2013-08-15 19:21:07 +0000
commit7659157f1b926321530a44ce8fc7a39a0360a08e (patch)
tree11938d2dda1c9b05ea82dfa1add830f6d0d83e94 /clang/lib/CodeGen/ModuleBuilder.cpp
parentd18fcc7a227f299f6451e2f630e8a83524ac57b2 (diff)
downloadllvm-7659157f1b926321530a44ce8fc7a39a0360a08e.zip
llvm-7659157f1b926321530a44ce8fc7a39a0360a08e.tar.gz
llvm-7659157f1b926321530a44ce8fc7a39a0360a08e.tar.bz2
Add hadd builtin
(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
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions