view test/CodeGen/AArch64/neon-idiv.ll @ 77:54457678186b LLVM3.6

LLVM 3.6
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 08 Sep 2014 22:06:00 +0900
parents
children c2174574ed3a
line wrap: on
line source

; RUN: llc -mtriple=aarch64-none-linux-gnu < %s -mattr=+neon | FileCheck %s

define <4 x i32> @test1(<4 x i32> %a) {
  %rem = srem <4 x i32> %a, <i32 7, i32 7, i32 7, i32 7>
  ret <4 x i32> %rem
; CHECK-LABEL: test1
; FIXME: Can we lower this more efficiently?
; CHECK: mul
; CHECK: mul
; CHECK: mul
; CHECK: mul
}