[LV] Extend check lines for pr34681.ll to cover foldable select.

This commit is contained in:
Florian Hahn 2022-01-13 15:11:14 +00:00
parent 4eaf5846d0
commit 7b9f5cbfa7
No known key found for this signature in database
GPG Key ID: EEF712BB5E80EBBA
1 changed files with 4 additions and 1 deletions

View File

@ -80,7 +80,10 @@ for.end:
; CHECK-LABEL: @foo2 ; CHECK-LABEL: @foo2
; CHECK: for.body.lr.ph ; CHECK: vector.scevcheck:
; CHECK-NEXT: add nsw i32 %conv, -1
; CHECK-NEXT: [[NEG:%.+]] = sub i32 0, %conv
; CHECK-NEXT: = select i1 false, i32 [[NEG]], i32 %conv
; CHECK-NOT: %ident.check = icmp ne i16 %N, 1 ; CHECK-NOT: %ident.check = icmp ne i16 %N, 1
; CHECK-NOT: %{{[0-9]+}} = or i1 false, %ident.check ; CHECK-NOT: %{{[0-9]+}} = or i1 false, %ident.check
; CHECK-NOT: br i1 %{{[0-9]+}}, label %scalar.ph, label %vector.ph ; CHECK-NOT: br i1 %{{[0-9]+}}, label %scalar.ph, label %vector.ph