[X86] Add SHL by 1 to the load folding tables.
authorCraig Topper <craig.topper@gmail.com>
Sun, 27 Nov 2016 21:36:54 +0000 (21:36 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 27 Nov 2016 21:36:54 +0000 (21:36 +0000)
commit3674f44e40ef5589880845a192e5fc3621935cba
tree84f1c8cb2180ee0bcccc8beb1deebbefde4de4f5
parent91d6f5fbc1ab57b867917b26990870975e2b56c8
[X86] Add SHL by 1 to the load folding tables.

I don't think isel selects these today, favoring adding the register to itself instead. But the load folding tables shouldn't be so concerned with what isel will use and just represent the relationships.

llvm-svn: 288007
llvm/lib/Target/X86/X86InstrInfo.cpp