diff options
Diffstat (limited to 'llvm/test/CodeGen/ARM/neon_vshl_minint.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/neon_vshl_minint.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/neon_vshl_minint.ll b/llvm/test/CodeGen/ARM/neon_vshl_minint.ll new file mode 100644 index 00000000000..769eff845fd --- /dev/null +++ b/llvm/test/CodeGen/ARM/neon_vshl_minint.ll @@ -0,0 +1,13 @@ +; RUN: llc < %s -mtriple=arm-none-eabi -mcpu=cortex-a8 2>&1 | FileCheck %s +; RUN: llc < %s -mtriple=thumb-none-eabi -mcpu=cortex-a8 2>&1 | FileCheck %s + +define <1 x i64> @vshl_minint() #0 { + entry: + ; CHECK-LABEL: vshl_minint + ; CHECK: vldr + ; CHECK: vshl.u64 + %vshl.i = tail call <1 x i64> @llvm.arm.neon.vshiftu.v1i64(<1 x i64> undef, <1 x i64> <i64 -9223372036854775808>) + ret <1 x i64> %vshl.i +} + +declare <1 x i64> @llvm.arm.neon.vshiftu.v1i64(<1 x i64>, <1 x i64>) |