source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Assembler/select.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: 276 bytes
Line 
1; RUN: llvm-as %s -o /dev/null
2; RUN: verify-uselistorder %s
3
4
5define i32 @test(i1 %C, i32 %V1, i32 %V2) {
6        %X = select i1 true, i1 false, i1 true          ; <i1> [#uses=1]
7        %V = select i1 %X, i32 %V1, i32 %V2             ; <i32> [#uses=1]
8        ret i32 %V
9}
10
Note: See TracBrowser for help on using the repository browser.