mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-25 03:30:37 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196449 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
363 B
LLVM
12 lines
363 B
LLVM
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
|
|
|
|
define <16 x i32> @test_vbroadcast() {
|
|
; CHECK: vpbroadcastd
|
|
entry:
|
|
%0 = sext <16 x i1> zeroinitializer to <16 x i32>
|
|
%1 = fcmp uno <16 x float> undef, zeroinitializer
|
|
%2 = sext <16 x i1> %1 to <16 x i32>
|
|
%3 = select <16 x i1> %1, <16 x i32> %0, <16 x i32> %2
|
|
ret <16 x i32> %3
|
|
}
|