Add NEON 'laned' operations. This fixes another bunch of gcc testsuite fails and
[oota-llvm.git] / test / CodeGen / Blackfin / simple-select.ll
1 ; RUN: llvm-as < %s | llc -march=bfin -verify-machineinstrs > %t
2
3 declare i1 @foo()
4
5 define i32 @test(i32* %A, i32* %B) {
6         %a = load i32* %A
7         %b = load i32* %B
8         %cond = call i1 @foo()
9         %c = select i1 %cond, i32 %a, i32 %b
10         ret i32 %c
11 }