llvm-project/llvm/test/CodeGen/X86/win64_regcall.ll
Nikita Popov f430c1eb64 [Tests] Add elementtype attribute to indirect inline asm operands (NFC)
This updates LLVM tests for D116531 by adding elementtype attributes
to operands that correspond to indirect asm constraints.
2022-01-06 14:23:51 +01:00

13 lines
389 B
LLVM

; RUN: llc < %s -mtriple=x86_64-windows-msvc | FileCheck %s
define dso_local x86_regcallcc void @ensure_align() local_unnamed_addr #0 {
entry:
%b = alloca i32, align 4
call void asm sideeffect "nopl $0", "=*m,~{dirflag},~{fpsr},~{flags}"(i32* elementtype(i32) nonnull %b)
ret void
}
; CHECK-LABEL: ensure_align: # @ensure_align
; CHECK: .seh_stackalloc 8
; CHECK: .seh_endprologue