* add the shladd instruction
authorDuraid Madina <duraid@octopus.com.au>
Wed, 13 Apr 2005 06:12:04 +0000 (06:12 +0000)
committerDuraid Madina <duraid@octopus.com.au>
Wed, 13 Apr 2005 06:12:04 +0000 (06:12 +0000)
commited09502a0b8c3556d3f144bc867e82ef729e4fd0
tree444c4c42e695c2438806593dc54e857a7e1913c1
parent4f7cba5af887bc21db37999495ea4b7b727650fd
* add the shladd instruction
* fold left shifts of 1, 2, 3 or 4 bits into adds

  This doesn't save much now, but should get a serious workout once
  multiplies by constants get converted to shift/add/sub sequences.
  Hold on! :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21282 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/IA64/IA64ISelPattern.cpp
lib/Target/IA64/IA64InstrInfo.td