Thanks for using Compiler Explorer
Sponsors
Jakt
C++
Ada
Analysis
Android Java
Android Kotlin
Assembly
C
C3
Carbon
C++ (Circle)
CIRCT
Clean
CMake
CMakeScript
COBOL
C++ for OpenCL
MLIR
Cppx
Cppx-Blue
Cppx-Gold
Cpp2-cppfront
Crystal
C#
CUDA C++
D
Dart
Elixir
Erlang
Fortran
F#
GLSL
Go
Haskell
HLSL
Hook
Hylo
IL
ispc
Java
Julia
Kotlin
LLVM IR
LLVM MIR
Modula-2
Nim
Objective-C
Objective-C++
OCaml
Odin
OpenCL C
Pascal
Pony
Python
Racket
Ruby
Rust
Snowball
Scala
Slang
Solidity
Spice
SPIR-V
Swift
LLVM TableGen
Toit
TypeScript Native
V
Vala
Visual Basic
Vyper
WASM
Zig
Javascript
GIMPLE
Ygen
llvm source #1
Output
Compile to binary object
Link to binary
Execute the code
Intel asm syntax
Demangle identifiers
Verbose demangling
Filters
Unused labels
Library functions
Directives
Comments
Horizontal whitespace
Debug intrinsics
Compiler
clang (assertions trunk)
clang (trunk)
clang 10.0.0
clang 10.0.1
clang 11.0.0
clang 11.0.1
clang 12.0.0
clang 12.0.1
clang 13.0.0
clang 14.0.0
clang 15.0.0
clang 16.0.0
clang 17.0.1
clang 18.1.0
clang 19.1.0
clang 4.0.1
clang 5.0.0
clang 6.0.0
clang 7.0.0
clang 8.0.0
clang 9.0.0
llc (assertions trunk)
llc (trunk)
llc 10.0.0
llc 10.0.1
llc 11.0.0
llc 11.0.1
llc 12.0.0
llc 12.0.1
llc 13.0.0
llc 14.0.0
llc 15.0.0
llc 16.0.0
llc 17.0.1
llc 18.1.0
llc 19.1.0
llc 3.2
llc 3.3
llc 3.9.1
llc 4.0.0
llc 4.0.1
llc 5.0.0
llc 6.0.0
llc 7.0.0
llc 8.0.0
llc 9.0.0
opt (assertions trunk)
opt (trunk)
opt 10.0.0
opt 10.0.1
opt 11.0.0
opt 11.0.1
opt 12.0.0
opt 12.0.1
opt 13.0.0
opt 14.0.0
opt 15.0.0
opt 16.0.0
opt 17.0.1
opt 18.1.0
opt 19.1.0
opt 3.2
opt 3.3
opt 3.9.1
opt 4.0.0
opt 4.0.1
opt 5.0.0
opt 6.0.0
opt 7.0.0
opt 8.0.0
opt 9.0.0
Options
Source code
define <8 x i1> @icmp_ult_rhs_splat_const(<8 x i16> %0) { %atfirst = insertelement <8 x i16> undef, i16 10, i32 0 %splat = shufflevector <8 x i16> %atfirst, <8 x i16> undef, <8 x i32> zeroinitializer %res = icmp ult <8 x i16> %0, %splat ret <8 x i1> %res } define <8 x i1> @icmp_slt_rhs_splat_const(<8 x i16> %0) { %atfirst = insertelement <8 x i16> undef, i16 10, i32 0 %splat = shufflevector <8 x i16> %atfirst, <8 x i16> undef, <8 x i32> zeroinitializer %res = icmp slt <8 x i16> %0, %splat ret <8 x i1> %res } define <8 x i1> @icmp_ule_lhs_splat(<8 x i16> %0, i16 %1) { %atfirst = insertelement <8 x i16> undef, i16 %1, i32 0 %splat = shufflevector <8 x i16> %atfirst, <8 x i16> undef, <8 x i32> zeroinitializer %res = icmp ule <8 x i16> %splat, %0 ret <8 x i1> %res } define <8 x i1> @icmp_ule_lhs_splat_const(<8 x i16> %0) { %atfirst = insertelement <8 x i16> undef, i16 10, i32 0 %splat = shufflevector <8 x i16> %atfirst, <8 x i16> undef, <8 x i32> zeroinitializer %res = icmp ule <8 x i16> %splat, %0 ret <8 x i1> %res } define <8 x i1> @icmp_sle_lhs_splat(<8 x i16> %0, i16 %1) { %atfirst = insertelement <8 x i16> undef, i16 %1, i32 0 %splat = shufflevector <8 x i16> %atfirst, <8 x i16> undef, <8 x i32> zeroinitializer %res = icmp sle <8 x i16> %splat, %0 ret <8 x i1> %res } define <8 x i1> @icmp_sle_lhs_splat_const(<8 x i16> %0) { %atfirst = insertelement <8 x i16> undef, i16 10, i32 0 %splat = shufflevector <8 x i16> %atfirst, <8 x i16> undef, <8 x i32> zeroinitializer %res = icmp sle <8 x i16> %splat, %0 ret <8 x i1> %res } define <8 x i1> @icmp_ugt_lhs_splat_const(<8 x i16> %0) { %atfirst = insertelement <8 x i16> undef, i16 10, i32 0 %splat = shufflevector <8 x i16> %atfirst, <8 x i16> undef, <8 x i32> zeroinitializer %res = icmp ugt <8 x i16> %splat, %0 ret <8 x i1> %res } define <8 x i1> @icmp_sgt_lhs_splat_const(<8 x i16> %0) { %atfirst = insertelement <8 x i16> undef, i16 10, i32 0 %splat = shufflevector <8 x i16> %atfirst, <8 x i16> undef, <8 x i32> zeroinitializer %res = icmp sgt <8 x i16> %splat, %0 ret <8 x i1> %res } define <8 x i1> @icmp_uge_rhs_splat(<8 x i16> %0, i16 %1) { %atfirst = insertelement <8 x i16> undef, i16 %1, i32 0 %splat = shufflevector <8 x i16> %atfirst, <8 x i16> undef, <8 x i32> zeroinitializer %res = icmp uge <8 x i16> %0, %splat ret <8 x i1> %res } define <8 x i1> @icmp_uge_rhs_splat_const(<8 x i16> %0) { %atfirst = insertelement <8 x i16> undef, i16 10, i32 0 %splat = shufflevector <8 x i16> %atfirst, <8 x i16> undef, <8 x i32> zeroinitializer %res = icmp uge <8 x i16> %0, %splat ret <8 x i1> %res } define <8 x i1> @icmp_sge_rhs_splat(<8 x i16> %0, i16 %1) { %atfirst = insertelement <8 x i16> undef, i16 %1, i32 0 %splat = shufflevector <8 x i16> %atfirst, <8 x i16> undef, <8 x i32> zeroinitializer %res = icmp sge <8 x i16> %0, %splat ret <8 x i1> %res } define <8 x i1> @icmp_sge_rhs_splat_const(<8 x i16> %0) { %atfirst = insertelement <8 x i16> undef, i16 10, i32 0 %splat = shufflevector <8 x i16> %atfirst, <8 x i16> undef, <8 x i32> zeroinitializer %res = icmp sge <8 x i16> %0, %splat ret <8 x i1> %res }
Become a Patron
Sponsor on GitHub
Donate via PayPal
Source on GitHub
Mailing list
Installed libraries
Wiki
Report an issue
How it works
Contact the author
CE on Mastodon
CE on Bluesky
About the author
Statistics
Changelog
Version tree