
This reverts commit 80a34ae31125aa46dcad47162ba45b152aed968d with fixes. Previously, since bots turning on EXPENSIVE_CHECKS are essentially turning on MachineVerifierPass by default on X86 and the fact that inline-asm-avx-v-constraint-32bit.ll and inline-asm-avx512vl-v-constraint-32bit.ll are not expected to generate functioning machine code, this would go down to `report_fatal_error` in MachineVerifierPass. Here passing `-verify-machineinstrs=0` to make the intent explicit.
12 lines
562 B
LLVM
12 lines
562 B
LLVM
; RUN: not --crash llc < %s -mtriple=i686-unknown-unknown -mattr=sse2 2>&1 | FileCheck %s --check-prefix=CHECK
|
|
|
|
; Make sure we generate fatal error from the type legalizer for using a 64-bit
|
|
; mode intrinsics in 32-bit mode. We used to use an llvm_unreachable.
|
|
|
|
; CHECK: LLVM ERROR: Do not know how to expand the result of this operator!
|
|
define i64 @test_x86_sse2_cvtsd2si64(<2 x double> %a0) {
|
|
%res = call i64 @llvm.x86.sse2.cvtsd2si64(<2 x double> %a0) ; <i64> [#uses=1]
|
|
ret i64 %res
|
|
}
|
|
declare i64 @llvm.x86.sse2.cvtsd2si64(<2 x double>) nounwind readnone
|