[llvm] [LLVM] [X86] Fix integer overflows in frame layout for huge frames (PR #101840)

Wesley Wiser via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 11 01:56:20 PDT 2024


================
@@ -1,23 +1,15 @@
-; RUN: llc < %s -mtriple=x86_64-linux-unknown -verify-machineinstrs | FileCheck %s --check-prefix=CHECK-64
-; RUN: llc < %s -mtriple=i386-linux-unknown -verify-machineinstrs | FileCheck %s --check-prefix=CHECK-32
+; RUN: llc < %s -mtriple=x86_64-linux-unknown -verify-machineinstrs | FileCheck %s
----------------
wesleywiser wrote:

`-verify-machineinstrs` caught a few issues the last time I tried to merge this so i'd prefer to keep it unless there's a strong reason not to.

This test tries to stack allocate ~5gb which isn't valid on i386 so it wasn't clear to me what the point of the test was. I can add it back if you'd prefer. 

https://github.com/llvm/llvm-project/pull/101840


More information about the llvm-commits mailing list