OSDN Git Service

[PEI] Fix failing test caused by r324283
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Mon, 5 Feb 2018 23:06:47 +0000 (23:06 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Mon, 5 Feb 2018 23:06:47 +0000 (23:06 +0000)
X86FrameLowering sets stack size to 0 if redzone is enabled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324285 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/prologue-epilogue-remarks.mir

index a57305d..efa6744 100644 (file)
@@ -1,5 +1,11 @@
 # RUN: llc -mtriple=x86_64-unknown-unknown -run-pass=prologepilog -pass-remarks-output=%t -pass-remarks-analysis=prologepilog -o /dev/null %s 2>&1
 # RUN: cat %t | FileCheck %s
+--- |
+
+  define void @fun0() noredzone { ret void }
+  define void @fun1() noredzone { ret void }
+  define void @fun2() noredzone { ret void }
+
 ...
 ---
 name:            fun0