[PATCH] D12196: [ARM] Extract shifts out of multiply-by-constant

John Brawn via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 09:04:13 PDT 2015


john.brawn updated this revision to Diff 34163.
john.brawn added a comment.

Turn ExtractShiftFromMul into canExtractShiftFromMul and move the hasOneUse check on the multiply into it.


Repository:
  rL LLVM

http://reviews.llvm.org/D12196

Files:
  lib/Target/ARM/ARMISelDAGToDAG.cpp
  test/CodeGen/ARM/shifter_operand.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12196.34163.patch
Type: text/x-patch
Size: 14905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150907/a2e3ba3e/attachment.bin>


More information about the llvm-commits mailing list