Add a comment describing why transforming (shl x, 1) to (add x, x) is to be
authorDan Gohman <gohman@apple.com>
Thu, 16 Jun 2011 15:55:48 +0000 (15:55 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 16 Jun 2011 15:55:48 +0000 (15:55 +0000)
commita0697a7ef5a980727d8361acd1fc429a5b1b8e2b
tree627ceda3603cc6f949599b26e6f1f54fec9a2288
parentec3141b27f695585957cb045601e715c367a0cde
Add a comment describing why transforming (shl x, 1) to (add x, x) is to be
considered safe enough in this context.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133159 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrCompiler.td