Generalize a pattern for PKHTB: an SRL of 16-31 bits will guarantee
authorBob Wilson <bob.wilson@apple.com>
Mon, 16 Aug 2010 22:26:55 +0000 (22:26 +0000)
committerBob Wilson <bob.wilson@apple.com>
Mon, 16 Aug 2010 22:26:55 +0000 (22:26 +0000)
commitdc66edaced5dacb56f06f52723dd340d5cfe4eab
tree2a1889b60846d442cc2e3b1c81e27238a7623a14
parentb05b80160a212626c34155daca9d858e1d0c445a
Generalize a pattern for PKHTB: an SRL of 16-31 bits will guarantee
that the high halfword is zero.  The shift need not be exactly 16 bits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111196 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/ARM/pack.ll
test/CodeGen/Thumb2/thumb2-pack.ll