Skip to content

Commit 444c803

Browse files
committed
precommit test
1 parent 8334d2b commit 444c803

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2+
; RUN: opt -S -passes=instcombine < %s 2>&1 | FileCheck %s
3+
4+
define <2 x i1> @pr98435(<2 x i1> %val) {
5+
; CHECK-LABEL: define <2 x i1> @pr98435(
6+
; CHECK-SAME: <2 x i1> [[VAL:%.*]]) {
7+
; CHECK-NEXT: ret <2 x i1> <i1 poison, i1 true>
8+
;
9+
%val1 = select <2 x i1> <i1 undef, i1 true>, <2 x i1> <i1 true, i1 true>, <2 x i1> %val
10+
ret <2 x i1> %val1
11+
}

0 commit comments

Comments
 (0)