[llvm] 74f00c6 - [X86] Regenerate stack clash test to fix issue reported on D77354
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 3 06:56:19 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-03T14:56:06+01:00
New Revision: 74f00c66dd361f10f398aa1ddb26472067f505ef
URL: https://github.com/llvm/llvm-project/commit/74f00c66dd361f10f398aa1ddb26472067f505ef
DIFF: https://github.com/llvm/llvm-project/commit/74f00c66dd361f10f398aa1ddb26472067f505ef.diff
LOG: [X86] Regenerate stack clash test to fix issue reported on D77354
Added:
Modified:
llvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll b/llvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
index 1a595f639f26..0fe492a93d0e 100644
--- a/llvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
+++ b/llvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
@@ -1,24 +1,22 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s | FileCheck %s
-
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define i32 @foo() local_unnamed_addr #0 {
-
; CHECK-LABEL: foo:
-; CHECK: # %bb.0:
-; CHECK-NEXT subq $4096, %rsp # imm = 0x1000
-; CHECK-NEXT .cfi_def_cfa_offset 5888
-; CHECK-NEXT movl $1, 2088(%rsp)
-; CHECK-NEXT subq $1784, %rsp # imm = 0x6F8
-; CHECK-NEXT movl $2, 672(%rsp)
-; CHECK-NEXT movl 1872(%rsp), %eax
-; CHECK-NEXT addq $5880, %rsp # imm = 0x16F8
-; CHECK-NEXT .cfi_def_cfa_offset 8
-; CHECK-NEXT retq
-
-
+; CHECK: # %bb.0:
+; CHECK-NEXT: subq $4096, %rsp # imm = 0x1000
+; CHECK-NEXT: movq $0, (%rsp)
+; CHECK-NEXT: subq $1784, %rsp # imm = 0x6F8
+; CHECK-NEXT: .cfi_def_cfa_offset 5888
+; CHECK-NEXT: movl $1, {{[0-9]+}}(%rsp)
+; CHECK-NEXT: movl $2, {{[0-9]+}}(%rsp)
+; CHECK-NEXT: movl {{[0-9]+}}(%rsp), %eax
+; CHECK-NEXT: addq $5880, %rsp # imm = 0x16F8
+; CHECK-NEXT: .cfi_def_cfa_offset 8
+; CHECK-NEXT: retq
%a = alloca i32, i64 1000, align 16
%b = alloca i32, i64 500, align 16
%a0 = getelementptr inbounds i32, i32* %a, i64 500
More information about the llvm-commits
mailing list