brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · eb5d172 Raw
38 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --no_x86_scrub_sp2; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s --check-prefix=FAST-SHLD3; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+slow-shld | FileCheck %s --check-prefix=SLOW-SHLD4 5define void @_start() nounwind {6; FAST-SHLD-LABEL: _start:7; FAST-SHLD:       # %bb.0: # %Entry8; FAST-SHLD-NEXT:    movq -40(%rsp), %rax9; FAST-SHLD-NEXT:    movq -32(%rsp), %rcx10; FAST-SHLD-NEXT:    movq %rcx, %rdx11; FAST-SHLD-NEXT:    shlq $62, %rdx12; FAST-SHLD-NEXT:    shrq $2, %rcx13; FAST-SHLD-NEXT:    shldq $2, %rdx, %rcx14; FAST-SHLD-NEXT:    andq $-4, %rax15; FAST-SHLD-NEXT:    incq %rax16; FAST-SHLD-NEXT:    movq %rax, -40(%rsp)17; FAST-SHLD-NEXT:    movq %rcx, -32(%rsp)18; FAST-SHLD-NEXT:    orq $-2, -56(%rsp)19; FAST-SHLD-NEXT:    movq $-1, -48(%rsp)20; FAST-SHLD-NEXT:    retq21;22; SLOW-SHLD-LABEL: _start:23; SLOW-SHLD:       # %bb.0: # %Entry24; SLOW-SHLD-NEXT:    movq -40(%rsp), %rax25; SLOW-SHLD-NEXT:    andq $-4, %rax26; SLOW-SHLD-NEXT:    incq %rax27; SLOW-SHLD-NEXT:    movq %rax, -40(%rsp)28; SLOW-SHLD-NEXT:    orq $-2, -56(%rsp)29; SLOW-SHLD-NEXT:    movq $-1, -48(%rsp)30; SLOW-SHLD-NEXT:    retq31Entry:32  %y = alloca <3 x i129>, align 1633  %L = load <3 x i129>, ptr %y34  %I1 = insertelement <3 x i129> %L, i129 340282366920938463463374607431768211455, i32 135  store <3 x i129> %I1, ptr %y36  ret void37}38