comparison test/CodeGen/X86/avx512-vselect-crash.ll @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 54457678186b
children 3a76565eade5
comparison
equal deleted inserted replaced
120:1172e4bd9c6f 121:803732b1fca8
1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s 2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
2 3
3 ; CHECK-LABEL: test
4 ; CHECK: vpxord
5 ; CHECK: ret
6 define <16 x i32> @test() { 4 define <16 x i32> @test() {
5 ; CHECK-LABEL: test:
6 ; CHECK: ## BB#0: ## %entry
7 ; CHECK-NEXT: vxorps %xmm0, %xmm0, %xmm0
8 ; CHECK-NEXT: retq
7 entry: 9 entry:
8 %0 = icmp slt <16 x i32> undef, undef 10 %0 = icmp slt <16 x i32> undef, undef
9 %1 = select <16 x i1> %0, <16 x i32> undef, <16 x i32> zeroinitializer 11 %1 = select <16 x i1> %0, <16 x i32> undef, <16 x i32> zeroinitializer
10 ret <16 x i32> %1 12 ret <16 x i32> %1
11 } 13 }