aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/select.ll
blob: 385a49917c44571e41dd66c1b991c8679861c51d (plain)
1
2
3
4
5
6
7
8
; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f


int %test(bool %C, int %V1, int %V2) {
  %X = select bool true, bool false, bool true
  %V = select bool %X, int %V1, int %V2
  ret int %V
}