source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/select-undef.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 219 bytes
Line 
1; RUN: llc -mtriple=arm-eabi -mcpu=swift -verify-machineinstrs %s -o /dev/null
2
3define i32 @func(i32 %arg0, i32 %arg1) {
4entry:
5  %cmp = icmp slt i32 %arg0, 10
6  %v = select i1 %cmp, i32 undef, i32 %arg1
7  ret i32 %v
8}
Note: See TracBrowser for help on using the repository browser.