Nikita Popov 2f448bf509 [X86] Migrate tests to use opaque pointers (NFC)
Test updates were performed using:
https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34

These are only the test updates where the test passed without
further modification (which is almost all of them, as the backend
is largely pointer-type agnostic).
2022-06-22 14:38:25 +02:00

15 lines
501 B
LLVM

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: not llc -o /dev/null %s 2>&1 | FileCheck %s
target triple = "x86_64-unknown-linux-gnu"
; CHECK: error: couldn't allocate input reg for constraint 'r'
define i32 @f2() #0 {
entry:
%retval = alloca i32, align 4
%d = alloca <8 x i16>, align 16
%0 = load <8 x i16>, ptr %d, align 16
call void asm sideeffect "", "r,~{dirflag},~{fpsr},~{flags}"(<8 x i16> %0)
%1 = load i32, ptr %retval, align 4
ret i32 %1
}