diff options
author | Owen Anderson <resistor@mac.com> | 2010-11-03 23:15:26 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-11-03 23:15:26 +0000 |
commit | 60f4870c221d0496254c78c6e61bc00e4540fc1b (patch) | |
tree | 3abac59f62bd877f8c70a3ddc3907fb579eb257b /test | |
parent | d966817f3cb87897cbec29c967b974924fe939ba (diff) | |
download | llvm-60f4870c221d0496254c78c6e61bc00e4540fc1b.tar.gz llvm-60f4870c221d0496254c78c6e61bc00e4540fc1b.tar.bz2 llvm-60f4870c221d0496254c78c6e61bc00e4540fc1b.tar.xz |
Covert VORRIMM to be produced via early target-specific DAG combining, rather than legalization.
This is both the conceptually correct place for it, as well as allowing it to be more aggressive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/vbits.ll | 2 | ||||
-rw-r--r-- | test/MC/ARM/neon-bitwise-encoding.s | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/vbits.ll b/test/CodeGen/ARM/vbits.ll index 352608b0d4..b6077c05ec 100644 --- a/test/CodeGen/ARM/vbits.ll +++ b/test/CodeGen/ARM/vbits.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s +; RUN: llc < %s -march=arm -mattr=+neon -mcpu=cortex-a8 | FileCheck %s define <8 x i8> @v_andi8(<8 x i8>* %A, <8 x i8>* %B) nounwind { ;CHECK: v_andi8: diff --git a/test/MC/ARM/neon-bitwise-encoding.s b/test/MC/ARM/neon-bitwise-encoding.s index 345b6bb2d2..43a73ff128 100644 --- a/test/MC/ARM/neon-bitwise-encoding.s +++ b/test/MC/ARM/neon-bitwise-encoding.s @@ -19,6 +19,8 @@ vorr.i32 d16, #0x1000000 @ CHECK: vorr.i32 q8, #0x1000000 @ encoding: [0x51,0x07,0xc0,0xf2] vorr.i32 q8, #0x1000000 +@ CHECK: vorr.i32 q8, #0x0 @ encoding: [0x50,0x01,0xc0,0xf2] + vorr.i32 q8, #0x0 @ CHECK: vbic d16, d17, d16 @ encoding: [0xb0,0x01,0x51,0xf2] vbic d16, d17, d16 |