xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/avx512-vselect-crash.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: test
4*9880d681SAndroid Build Coastguard Worker; CHECK: vpxord
5*9880d681SAndroid Build Coastguard Worker; CHECK: ret
6*9880d681SAndroid Build Coastguard Workerdefine <16 x i32> @test() {
7*9880d681SAndroid Build Coastguard Workerentry:
8*9880d681SAndroid Build Coastguard Worker  %0 = icmp slt <16 x i32> undef, undef
9*9880d681SAndroid Build Coastguard Worker  %1 = select <16 x i1> %0, <16 x i32> undef, <16 x i32> zeroinitializer
10*9880d681SAndroid Build Coastguard Worker  ret <16 x i32> %1
11*9880d681SAndroid Build Coastguard Worker}
12