Skip to content

Commit

Permalink
Use CHECK-NEXT for codegen test
Browse files Browse the repository at this point in the history
  • Loading branch information
oberien committed Feb 2, 2018
1 parent fa84cc4 commit ee8b4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/codegen/repeat-trusted-len.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ pub fn repeat_take_collect() -> Vec<u8> {
#[no_mangle]
pub fn range_from_take_collect() -> Vec<u8> {
// CHECK: %[[SPLATINSERT:.*]] = insertelement <{{[0-9]+}} x i8> undef, i8 %{{.*}}, i32 0
// CHECK: %{{.*}} = shufflevector <[[WIDTH:[0-9]+]] x i8> %[[SPLATINSERT]], <[[WIDTH]] x i8> undef, <[[WIDTH]] x i32> zeroinitializer
// CHECK-NEXT: %{{.*}} = shufflevector <[[WIDTH:[0-9]+]] x i8> %[[SPLATINSERT]], <[[WIDTH]] x i8> undef, <[[WIDTH]] x i32> zeroinitializer
(0..).take(100000).collect()
}

0 comments on commit ee8b4ca

Please sign in to comment.