summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/MemoryBuffer.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-07-27 23:04:59 +0000
committerCraig Topper <craig.topper@intel.com>2018-07-27 23:04:59 +0000
commitc3e11bf3f7de8e4171e045bfcfeac47b47095575 (patch)
tree113609855e490dbaa0a650d4eb5e4be8e302c97a /llvm/lib/Support/MemoryBuffer.cpp
parentfdfe2a9236db507dc85bbf561138b72f1ced6850 (diff)
downloadbcm5719-llvm-c3e11bf3f7de8e4171e045bfcfeac47b47095575.tar.gz
bcm5719-llvm-c3e11bf3f7de8e4171e045bfcfeac47b47095575.zip
[X86] Add support expanding multiplies by constant where the constant is -3/-5/-9 multplied by a power of 2.
These can be replaced with an LEA, a shift, and a negate. This seems to match what gcc and icc would do. llvm-svn: 338174
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud