brintos

brintos / llvm-project-archived public Read only

0
0
Text · 583 B · 67f4e44 Raw
17 lines · plain
1; RUN: not llc -mtriple=i686-pc-win32 < %s 2>&1 | FileCheck %s2 3; FIXME: This is miscompiled due to our unconditional use of esi as the base4; pointer.5; XFAIL: *6 7; CHECK: Stack realignment in presence of dynamic stack adjustments is not supported with inline assembly8 9define i32 @foo() {10entry:11  %r = alloca i32, align 1612  store i32 -1, ptr %r, align 1613  call void asm sideeffect inteldialect "push esi\0A\09xor esi, esi\0A\09mov dword ptr $0, esi\0A\09pop esi", "=*m,~{flags},~{esi},~{esp},~{dirflag},~{fpsr},~{flags}"(ptr %r)14  %0 = load i32, ptr %r, align 1615  ret i32 %016}17