Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/Hexagon/minuw.ll @ 146:3fc4d5c3e21e
set tail call flag for code segment in CGCAll
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 19:23:36 +0900 |
parents | afa8332a0e37 |
children |
line wrap: on
line source
; RUN: llc -march=hexagon < %s | FileCheck %s ; CHECK: minu define i32 @f(i32 %src, i32 %maxval) nounwind readnone { entry: %cmp = icmp ugt i32 %maxval, %src %cond = select i1 %cmp, i32 %src, i32 %maxval ret i32 %cond }