comparison test/CodeGen/AArch64/fast-isel-sdiv.ll @ 95:afa8332a0e37

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 60c9769439b8
children
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
1 ; RUN: llc -mtriple=aarch64-apple-darwin -verify-machineinstrs < %s | FileCheck %s 1 ; RUN: llc -mtriple=aarch64-apple-darwin -verify-machineinstrs < %s | FileCheck %s
2 ; RUN: llc -mtriple=aarch64-apple-darwin -fast-isel -fast-isel-abort -verify-machineinstrs < %s | FileCheck %s 2 ; RUN: llc -mtriple=aarch64-apple-darwin -fast-isel -fast-isel-abort=1 -verify-machineinstrs < %s | FileCheck %s
3 3
4 define i32 @sdiv_i32_exact(i32 %a) { 4 define i32 @sdiv_i32_exact(i32 %a) {
5 ; CHECK-LABEL: sdiv_i32_exact 5 ; CHECK-LABEL: sdiv_i32_exact
6 ; CHECK: asr {{w[0-9]+}}, w0, #3 6 ; CHECK: asr {{w[0-9]+}}, w0, #3
7 %1 = sdiv exact i32 %a, 8 7 %1 = sdiv exact i32 %a, 8