blob: 368cc34936e00fb1ef60114148ff83b5acfdbcfc [file] [log] [blame]
Chris Lattner7b094872006-11-28 01:26:37 +00001; RUN: llvm-as < %s | llc -march=x86 | grep test.*1
2; PR1016
3
4int %test(int %A, int %B, int %C) {
5 %a = trunc int %A to bool
6 %D = select bool %a, int %B, int %C
7 ret int %D
8}