22 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-- | FileCheck %s3; PR34494 5define void @test(ptr %P, ptr %Q) nounwind {6; CHECK-LABEL: test:7; CHECK: # %bb.0:8; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax9; CHECK-NEXT: movl {{[0-9]+}}(%esp), %ecx10; CHECK-NEXT: movl 56(%ecx), %edx11; CHECK-NEXT: movl 60(%ecx), %ecx12; CHECK-NEXT: movl %ecx, 4(%eax)13; CHECK-NEXT: movl %edx, (%eax)14; CHECK-NEXT: retl15 %A = load <8 x double>, ptr %P ; <<8 x double>> [#uses=1]16 %B = bitcast <8 x double> %A to i512 ; <i512> [#uses=1]17 %C = lshr i512 %B, 448 ; <i512> [#uses=1]18 %D = trunc i512 %C to i64 ; <i64> [#uses=1]19 store volatile i64 %D, ptr %Q20 ret void21}22