brintos

brintos / llvm-project-archived public Read only

0
0
Text · 562 B · d0d28db Raw
12 lines · plain
1; RUN: not --crash llc < %s -mtriple=i686-unknown-unknown -mattr=sse2 2>&1 | FileCheck %s --check-prefix=CHECK2 3; Make sure we generate fatal error from the type legalizer for using a 64-bit4; mode intrinsics in 32-bit mode. We used to use an llvm_unreachable.5 6; CHECK: LLVM ERROR: Do not know how to expand the result of this operator!7define i64 @test_x86_sse2_cvtsd2si64(<2 x double> %a0) {8  %res = call i64 @llvm.x86.sse2.cvtsd2si64(<2 x double> %a0) ; <i64> [#uses=1]9  ret i64 %res10}11declare i64 @llvm.x86.sse2.cvtsd2si64(<2 x double>) nounwind readnone12