summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
diff options
context:
space:
mode:
authorHaicheng Wu <haicheng@codeaurora.org>2016-11-15 20:16:48 +0000
committerHaicheng Wu <haicheng@codeaurora.org>2016-11-15 20:16:48 +0000
commitfaee2b71a79f2eedb75279c2455e84b54b7e839b (patch)
treed98279dcfac76b023afa1fd82ff9c0bdf2ddf660 /llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
parent3666629837d87332f17ead6d70eb98676614900c (diff)
downloadbcm5719-llvm-faee2b71a79f2eedb75279c2455e84b54b7e839b.tar.gz
bcm5719-llvm-faee2b71a79f2eedb75279c2455e84b54b7e839b.zip
[AArch64] Lower multiplication by a constant int to shl+add+shl
Lower a = b * C where C = (2^n + 1) * 2^m to add w0, w0, w0, lsl n lsl w0, w0, m Differential Revision: https://reviews.llvm.org/D229245 llvm-svn: 287019
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud