Files
clang-p2996/llvm/test/CodeGen/X86/pr28515.ll
Nikita Popov b980841652 [X86] Migrate more tests to opaque pointers (NFC)
Migrate some more tests that required manual fixups (e.g. due to
phi nodes), but have no codegen changes.

Also tweak some more tests that had leftover no-op constant
expressions.
2022-06-22 15:39:11 +02:00

17 lines
526 B
LLVM

; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mattr=+avx2 | FileCheck %s
@0 = private constant [8 x i32] zeroinitializer
; CHECK-LABEL: foo:
; CHECK: movl %esi, (%rdi)
; CHECK-NEXT: retq
define void @foo(ptr %p, i32 %v, <8 x i1> %mask) {
store i32 %v, ptr %p
%wide.masked.load = call <8 x i32> @llvm.masked.load.v8i32.p0(ptr @0, i32 4, <8 x i1> %mask, <8 x i32> undef)
ret void
}
declare <8 x i32> @llvm.masked.load.v8i32.p0(ptr, i32, <8 x i1>, <8 x i32>) #0
attributes #0 = { argmemonly nounwind readonly }