blob: 3ad06796dccf3ed9ec5b766d1fd099af96a333b1 [file] [log] [blame]
Joe Abbey1a6e7702013-09-12 22:02:31 +00001; RUN: llvm-as < %s | llvm-dis | FileCheck %s
Duncan P. N. Exon Smithc8eccd12014-08-19 21:08:27 +00002; RUN: verify-uselistorder < %s
Joe Abbey1a6e7702013-09-12 22:02:31 +00003
4define <2 x i32> @main() {
5 ret <2 x i32> select (<2 x i1> <i1 false, i1 undef>, <2 x i32> zeroinitializer, <2 x i32> <i32 0, i32 undef>)
6}
7
8; CHECK: define <2 x i32> @main() {
Nick Lewycky2d4ba2e2013-12-31 19:30:47 +00009; CHECK: ret <2 x i32> <i32 0, i32 undef>
Joe Abbey1a6e7702013-09-12 22:02:31 +000010; CHECK: }