Skip to content

Commit

Permalink
precommit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jf-botto committed Aug 8, 2024
1 parent 6b78e94 commit df7456e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions llvm/test/Transforms/InstCombine/pr98435.ll
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
; RUN: opt -S -passes=instcombine < %s 2>&1 | FileCheck %s

define <2 x i1> @pr98435(<2 x i1> %val) {
; CHECK-LABEL: define <2 x i1> @pr98435(
; CHECK-SAME: <2 x i1> [[VAL:%.*]]) {
; CHECK-NEXT: ret <2 x i1> <i1 poison, i1 true>
;
%val1 = select <2 x i1> <i1 undef, i1 true>, <2 x i1> <i1 true, i1 true>, <2 x i1> %val
ret <2 x i1> %val1
}

0 comments on commit df7456e

Please sign in to comment.