We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 221e511 commit ec61aa4Copy full SHA for ec61aa4
llvm/test/Transforms/LoopVectorize/AArch64/sve2-histcnt.ll
@@ -756,6 +756,16 @@ for.exit:
756
; The histogram operation generates vectors. This example used to crash
757
; due to a missing entry in a switch statement.
758
define void @histogram_generates_vectors_crash(ptr %data_array) {
759
+; CHECK-LABEL: define void @histogram_generates_vectors_crash(
760
+; CHECK-SAME: ptr [[DATA_ARRAY:%.*]]) {
761
+; CHECK-NEXT: entry:
762
+; CHECK-NEXT: br label [[FOR_BODY:%.*]]
763
+; CHECK: for.body:
764
+; CHECK-NEXT: store i1 true, ptr poison, align 1
765
+; CHECK-NEXT: br i1 poison, label [[FOR_EXIT:%.*]], label [[FOR_BODY]]
766
+; CHECK: for.exit:
767
+; CHECK-NEXT: ret void
768
+;
769
entry:
770
br label %for.body
771
0 commit comments