]> granicus.if.org Git - llvm/commit
Merging r195941:
authorBill Wendling <isanbard@gmail.com>
Sun, 1 Dec 2013 04:38:36 +0000 (04:38 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 1 Dec 2013 04:38:36 +0000 (04:38 +0000)
commit243896adcf7c22bb54ce136b0e89fa1fa8c4925f
treed5fdb20cd98ea66f6cee701d40ef591c75a70890
parentd894c68af6f4a8fd9a7334bc74fcd4386a6b12b9
Merging r195941:
------------------------------------------------------------------------
r195941 | haoliu | 2013-11-28 18:11:22 -0800 (Thu, 28 Nov 2013) | 4 lines

AArch64: The pattern match should check the range of the immediate value.
Or we can generate some illegal instructions.
E.g. shrn2 v0.4s, v1.2d, #35. The legal range should be in [1, 16].

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196033 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrNEON.td
test/CodeGen/AArch64/neon-diagnostics.ll
test/CodeGen/AArch64/neon-scalar-cvt.ll
test/CodeGen/AArch64/neon-scalar-shift-imm.ll