Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/Hexagon/maxd.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 | |
children |
line wrap: on
line source
; RUN: llc -march=hexagon < %s | FileCheck %s ; CHECK: max define i64 @f(i64 %src, i64 %maxval) nounwind readnone { entry: %cmp = icmp slt i64 %maxval, %src %cond = select i1 %cmp, i64 %src, i64 %maxval ret i64 %cond }